Returns the number 0.
| Return value | Description |
|---|---|
| int | The number 0. |
Do not use the JavaScript values true and false for "logical" @function values.
The following example shows how to test an @function that returns a "logical" value.function p(stuff) {
print("<<<" + stuff + ">>>");
}
if(@IsNewDoc() == @No())
p("Opening old document");
else
p("Creating new document");
/* Do not do this
if(!@IsNewDoc())
p("Opening old document");
else
p("Creating new document");
*/