Sha256: 1b1cc080716f8df13bcd7a321ed461e73b207e41b9fbce0fd050f88c75c4ca6a
Contents?: true
Size: 821 Bytes
Versions: 22
Compression:
Stored size: 821 Bytes
Contents
IF VERB NAME: if SHORTCUT: if DESCRIPTION If an expression is true then do something. SYNTAX if <true> then <do> PARAMETERS true - Does the expression evaluate to true? do - Execute command if the expression is true. RESULT Unchanged if the expression is not true. If true, then the result will be based on the command specified after the 'then' keyword. ERRORS Missing Expression! - No expression is provided as parameter to the verb. Other errors depend on the command that is run. EXAMPLE if [container] : x [bool] : false true_msg [string] : It is true! on_load [script] : if if.x then show "first time: " + if.true_msg put true into if.x if if.x then show "second time: " + if.true_msg SEE ALSO unless
Version data entries
22 entries across 22 versions & 2 rubygems