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

pbsig190 – PB Docs 2019 – PowerBuilder Library

pbsig190 – PB Docs 2019

pbsig190

Description

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

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 pbsig190 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 pbsig190 tool returns the following string.
The first argument is an unbounded array of type s_sales_order and is
passed by reference:

Usage

The pbsig190 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 pbsig190 maps to
datatypes and other entities.

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.

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