数字の 0 を返します。
戻り値 | 説明 |
---|---|
int | 数字の 0。 |
JavaScript の true や false を @関数の論理値として使用しないでください。
以下の例では、論理値を返す @関数をテストしています。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");
*/