Return a value of one

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS

Return value

%TRUE returns a value of 1. (n)


%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.


      if (%true) then
        open(chn, u, file) [err=nofile]
        open(chn, o, file)