NewDecimal
Description
Allocates resources for a new decimal data object.
Syntax
|
1 |
NewDecimal( ) |
Return value
pbdec or null on failure.
Examples
|
1 2 3 4 5 6 7 |
if (ci->pArgs->GetAt(i)->IsNull()) { pArguments[i].dec_val=Session->NewDecimal(); Session->SetDecimal(pArguments[i].dec_val,"1.0"); } else pArguments[i].dec_val = ci->pArgs->GetAt(i)->GetDecimal(); |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest