IPB_Session interface:
SetArrayItemValue method
Description
Sets the value of an array item to the value of an IPB_Value.
Syntax
1 |
SetArrayItemValue( pbarray <span>array</span>, pblong <span>dim</span>[ ]<span></span>, IPB_Value* <span>src</span>) |
Argument |
Description |
---|---|
array |
A valid pbarray structure |
dim |
A pblong array to |
src |
The value to which the array item is |
Return Values
None.
Examples
This code sets the value of each item in an array:
1 |
for( i=1; i <= bound; i++)<br>{<br>   dim[0]= i;<br>   ipv = Session -> AcquireArrayItemValue(refArg, dim);<br>   Session -> SetArrayItemValue(*i_array, dim, ipv);<br>   Session -> ReleaseValue(ipv);<br>} |
Usage
The SetArrayItemValue method does not verify
that the datatype of the replacement value matches the datatype
of the original value.
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest