end conditional

This forum serves as MSCI Reference at EGOSOFT. It's Read-Only for non MSCI Group members.

Moderators: Scripting / Modding Moderators, MSCI Moderators

mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

end conditional

Post by mark_a_condren »

end (conditional)

Ends an 'if', 'while' or other conditional statement's code block.


Example:

$loop = 10
while $loop > 0
| dec $loop =
|@ = wait 100 ms
end

'end' marks the finish position of the 'while' statement.


Command Location:
Alex Vanderbilt
Winner X3 Sektorquest
Posts: 2127
Joined: Thu, 4. May 06, 12:07
x3tc

[TiP][49] 286635

Post by Alex Vanderbilt »

end (conditional)

Dieses simple Kommando beendet if-(Wenn)-, while-(während)- oder andere Bedingungsabfragen.

Beispiel:

$loop = 10
while $loop > 0
| dec $loop =
|@ = wait 100 ms end

"end" markiert das Ende der "while"-Abfrage.


Zu finden unter:
User avatar
Capux
Posts: 2456
Joined: Sat, 31. Oct 09, 21:17
x4

[39] 286635

Post by Capux »

end (conditional)

Chiude un 'if', un 'while' o il blocco di codice di un'altra istruzione condizionale

Esempio:

$loop = 10
while $loop > 0
| dec $loop =
|@ = wait 100 ms
end

'end' indica la fine del blocco del ciclo while.


Posizione dell'istruzione nella lista:

Return to “MSCI Reference”