if

NAML documentation   Watch a video
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

block   both   catch_exception   command_exists   command_is_binary   command_name   command_source_name   either   encode   equal   exit   global_is_var_set   global_set_var   global_var   gt   hide_null   is_empty   is_in_command   is_null   lt   no_output   not   prepend   random   regex   regex_replace_all   set_var   space   starts_with   string_list   substring   throw_runtime_exception   trim   uplevel_set_var   uplevel_var   use_html_encoder   use_text_encoder   use_url_encoder   var
Feedback, Links, Privacy, Rules, Support, About