@False (JavaScript)

Returns the number 0.

Defined in

@Functions (JavaScript)

Syntax

@False() : int
Return value Description
int The number 0.

Usage

For "logical" values, @functions use the number 1 for true and 0 for false. The number 1 can be represented by @True (JavaScript) or @Yes (JavaScript).

The number 0 can be represented by @False (JavaScript) or @No (JavaScript).

Do not use the JavaScript values true and false for "logical" @function values.

Examples

The following example shows how to test an @function that returns a "logical" value.
function p(stuff) {
	print("<<<" + stuff + ">>>");
}

if(@IsNewDoc() == @False())
	p("Opening old document");
else
	p("Creating new document");

/* Do not do this
if(!@IsNewDoc)
	p("Opening old document");
else
	p("Creating new document");
*/