define label <Label>

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: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

define label <Label>

Post by mark_a_condren » Fri, 10. Sep 10, 17:10

define label <Label>


<Label> = The name you wish to use for your 'label'

Allows you to define the name and location of a <Label> that is used as the jump destination for a 'goto' or 'gosub' statement.
All 'labels' will have ':' appended to the end of them by the SE. So if you give your 'label' the name 'my.label.name', it will show as my.label.name: .


Example:

my.label.name:


Command Location:

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

[TiP][49] 286647

Post by Alex Vanderbilt » Sat, 2. Oct 10, 18:12

define label <Label>

<Label> = The name you wish to use for your 'label'

Dieses Kommando erlaubt es, eine Bezeichnung/Markierung oder Stellenangabe eines <Label>, die als Sprungziel einer gosub-Aussage oder goto-Aussage dient.

Allen Labeln wird vom SE ein ":" angehängt. Wenn man seinem Label also den Namen 'my.label.name' gibt, wird es als my.label.name: angezeigt.

Beispiel:

my.label.name:


Zu finden unter:

User avatar
Juggernaut93
Posts: 2897
Joined: Sun, 17. Jul 11, 21:03
x4

[39]286647

Post by Juggernaut93 » Wed, 23. May 12, 14:24

define label <Label>


<Label> = Il nome che vuoi usare per la tua 'label'

Ti permette di definire il nome e la posizione di una <Label>, usata come destinazione di salto per un'istruzione 'goto' o 'gosub'.
Tutte le 'label' avranno i due punti (':') aggiunti alla fine dallo SE. Perciò, se dai alla tua 'label' il nome 'my.label.name', essa sarà mostrata come my.label.name: .


Esempio:

my.label.name:


Posizione dell'istruzione nella lista:

Locked

Return to “MSCI Reference”