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

Locked
mark_a_condren
Posts: 1385
Joined: Wed, 3. Aug 05, 05:05
x3tc

end conditional

Post by mark_a_condren » Fri, 10. Sep 10, 15:31

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: 2119
Joined: Thu, 4. May 06, 12:07
x3tc

[TiP][49] 286635

Post by Alex Vanderbilt » Fri, 1. Oct 10, 14:04

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: 2141
Joined: Sat, 31. Oct 09, 22:17
x4

[39] 286635

Post by Capux » Thu, 21. Oct 10, 21:09

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:

Locked

Return to “MSCI Reference”