prowtl( ) - Write LOGICAL Variable
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
The prowtl( ) function writes a Boolean value to a shared
LOGICAL variable.
On successful completion, prowtl( ) returns 0; otherwise, it returns a
non-zero value:
Syntax
|
- psymnam
- This input parameter points to the name of the specified shared variable. 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.
- var
- This input parameter contains the boolean value for the specified
LOGICALvariable. Set var to 1 if you want to assign the value of the variable toTRUE; set it to 0 otherwise. - unknown
- If this input parameter contains the value 1, the Unknown value (
?) is assigned to the variable. If this input parameter contains the value 0, the input value contained in var is assigned to the variable.
See Also:
prowtc( ) - Write CHARACTER Variable, prowtd( ) - Write DATE Variable, prowti( ) - Write INTEGER Variable, prowtn( ) - Write DECIMAL Variable, prowtr( ) - Write RECID Variable