Table of Contents
isdefDescriptionTest whether a named variable exists. Function prototypebool isdef <string:VarName> Arguments
Return valueTrue if the variable named by VarName exists, and false otherwise. Example// create a variable called "i" and then test whether it exists using isdef and echo int i if <zs:isdef "i"> echo "true" else echo "false" endif … the output of which is written to the event log by echo as: true CommentsNone. See alsoExcept where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
|