GetGlobalVarID
Description
Returns the internal ID of a global variable.
Syntax
|
1 |
GetGlobalVarID(LPCTSTR name) |
|
Argument |
Description |
|---|---|
|
name |
The name of the global variable in |
Return value
pbfieldID or null on failure.
Examples
This example gets the internal identifier of a long variable and
uses it to get and set a global variable:
|
1 2 3 |
fid = session -> GetGlobalVarID("l_gvar"); l_val = session -> GetLongGlobalVar(fid, isNull); session -> SetLongGlobalVar(fid, l_val + 1); |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest