IntLow PowerScript function
Description
Returns the low word of a long value.
Syntax
|
1 |
<span>IntLow</span> ( <span>long</span> <span></span>) |
|
Argument |
Description |
|---|---|
|
long |
A long value |
Return Values
Integer. Returns the low word of long if
it succeeds and -1 if an error occurs. If long is null, IntLow returns null.
Usage
One use for IntLow is for decoding values
returned by external C functions and Windows messages.
Examples
These statements decode a long value LValue into
its low and high integers:
|
1 |
integer nLow, nHigh |
|
1 |
long LValue = 12345 |
|
1 |
nLow = <span>IntLow</span>(LValue) <span></span>  //The Low Integer is 12345. |
|
1 |
nHigh = IntHigh(LValue) //The High Integer is 0. |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest