%TRUE
|
WSupported on Windows
|
USupported on Unix
|
VSupported on OpenVMS
|
NSupported in Synergy .NET
|
%TRUE
Return value
%TRUE returns a value of 1. (n)
Discussion
%TRUE is a compile time function that returns a value of 1.
The %TRUE function, like the %FALSE function, helps you clarify the intentions of certain statements. It’s much easier to understand what a statement is doing if you make a reference to the value %TRUE instead of the decimal literal 1.
Examples
if (%true) then
open(chn, u, file) [err=nofile]
else
nofile,
open(chn, o, file)
