%TRUE

Return a value of one

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
%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)