%FALSE
|
WSupported on Windows
|
USupported on Unix
|
VSupported on OpenVMS
|
NSupported in Synergy .NET
|
%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
