if

Calls the "then" block if the 'condition' (dot_parameter) is true. Otherwise, calls the "else" block (if available).

Parameters

condition Condition to be tested dot parameter
else Block for the false case optional
then Block for the true case optional

Requires

basic

Binary Details

public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)

Other Binary Commands in basic

append   block   both   catch_exception   command_exists   command_is_binary   command_name   command_source_name   either   encode   equal   exit   global_set_var   global_var   gt   hide_null   is_empty   is_in_command   is_null   lt   no_output   nop   not   prepend   random   regex   regex_replace_all   set_var   starts_with   substring   throw_runtime_exception   to_lower_case   trim   uplevel_set_var   uplevel_var   use_html_encoder   use_text_encoder   use_url_encoder   var