Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

pbsig150 – PB Docs 150 – PowerBuilder Library

pbsig150 – PB Docs 150

pbsig150

Description

The PowerBuilder function signature is the internal signature
of a PowerBuilder function that is used to identify polymorphism
functions in a class. The pbsig150 tool obtains
these function signatures from a PBL.

note.png Inherited functions

You can also obtain a signature by selecting the function
in the System Tree or Browser and selecting Properties from its
pop-up menu. The pbsig150 tool does not report
the signature of functions that are inherited from an ancestor object
unless they are extended in the descendant. For such functions,
you must use the Properties dialog box to obtain the signature.
The Properties dialog box in the Browser also allows you to obtain
the signature of PowerBuilder system functions.

Syntax

Examples

This command extracts function signatures from one
of the PBLs in the Code Examples sample application:

Here is some of the output from the previous command:

The following example illustrates the use of a letter code
to represent a PowerBuilder system class or a custom class. Consider
this function:

For this function, the pbsig150 tool returns
the following string. The first argument is an unbounded array of
type s_sales_order and is
passed by reference:

Usage

The pbsig150 tool generates a string that
represents the declaration and signature of all the functions and
events in the PBL, including argument types, return types, and passing
style. Each function and event is followed by a commented string.
You pass the commented string, for example, QSS in
the first comment in the previous example, as the last argument
to the GetMethodID method.

For example, the following output indicates that the function
returns an integer and has a single integer argument passed by reference:

PowerBuilder arrays

PowerBuilder arrays are indicated with a pair of square brackets [ ] as
a suffix. For bounded arrays, the brackets enclose the bounds.

PowerBuilder system or custom class

Additional letter codes represent a PowerBuilder system class
or a custom class. The letter C followed by the name of a PowerBuilder
object or enumerated class and a period (Cname.) represents
an argument or return value of that type.

The following table shows how the output from pbsig150 maps
to datatypes and other entities.

Table 8-1: Return value and argument representation in pbsig150 output

Output

Datatype

[ ]

array

A

any

B

boolean

C

class

D

double

E

byte

F

real

G

basictype

H

character

I

integer

J

cursor

K

longlong

L

long

M

decimal

N

unsigned integer (uint)

O

blob

P

dbproc

Q

No type (subroutine)

S

string

T

time

U

unsigned long (ulong)

W

datetime

Y

date

Z

objhandle

The passing style is indicated by a prefix on the type.

Table 8-2: Passing style and varargs representation in pbsig150 output

Prefix

Meaning

None

Pass by value

R

Pass by reference

X

Pass as read only

V

Variable arguments (varargs)


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x