Stranded


Commands
if

if (Condition) {Commands} elseif (Condition) {Commands} else {Commands}

Categories: basic
Via "if", you can set up conditions. Only when the condition in the round brackets is matched, the commands in the curly brackets will be executed.
The command is extendable by "else" and "elseif". These take action when the previous condition (of an else or an elsif) was not matched. For else, the commands in its curly brackets are executed immediately, whereas in case of elseif there must first be fulfilled another condition.

Operators for conditions
== - equal
!= - not equal
< / > smaller / greater
<= / >= - smaller or equal / greater or equal

Links between conditions
&& / and - and
|| / or - or
xor - exclusive or (contravelence)

Each part of a condition, consisting of 2 values and an operator or a link, should be put into round brackets to prevent Stranded II from a misinterpretation
Stranded I, Stranded II & Stranded III are games by Unreal Software 2003-2023 | Contact | Disclaimer