prordi( ) - Read INTEGER Variable
- Last Updated: August 23, 2021
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
The prordi( ) function reads the value of
a shared INTEGER variable.
On successful completion, prodi( ) returns
0; otherwise, it returns a non-zero value:
Syntax
|
- psymnam
- This input parameter points to the name of the specified
shared
INTEGERvariable. You supply the name from your OpenEdge application. - index
- This input parameter specifies an index value for an array variable. If the variable is not an array, you must set the value of index to 0.
- pvar
- This output parameter points to a buffer where
prordi( )returns the value of the specifiedINTEGERvariable. - punknown
- This output parameter points to an integer where
prordi( )returns 1 if the variable has the Unknown value (?), and returns 0 otherwise.
For more information, see:
prordc( ) - Read CHARACTER Variable, prordd( ) - Read DATE Variable, prordl( ) - Read LOGICAL Variable, prordn( ) - Read DECIMAL Variable, prordr( ) - Read RECID Variable, prowti( ) - Write INTEGER Variable