%FALSE

Return a value of zero

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

Return value

%FALSE returns the value 0. (n)

Discussion

%FALSE is a compile-time function that returns a value of 0.

The %FALSE function, like the %TRUE 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 %FALSE instead of the decimal literal 0.

Examples

The statement

varxy = %false

is logically equivalent to the following:

varxy = 0

Here’s another example:

record
    trans               ,a10
    len                 ,d3
    tstmode             ,d1,    %false
proc
    xcall getlog("TST", trans, len)
    if (len) then
      tstmode = %true
    xcall build_it(tstmode)
    xreturn
end