Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted by ConfluenceCloudBulkEditor.py

...

if (test condition)
{
statement_1;
statement_2;
}


For example:

...

languagetext
if ( 2 < 3 )
 {
 string $blah = "This worked";
 print ($blah);
 }

Grouping examples

This example groups the statement to be executed for an IF conditional statement:

...

...

float $MasterControl = 1;

...


float $MarkerControl = 1;

...


if ($MasterControl == 1 || $MarkerControl == 1)

...

{

...

select LFWT;

...


findTail 2;

...


cutKeys;

...

print ("Operation was run.");

...


}