*<Comment>

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

*<Comment>

Post by mark_a_condren » Tue, 7. Sep 10, 19:15

*<Comment>


Tip:
Use this liberally!
A null statement – does nothing but add a comment to your code.

Do not use < or > in a comment. Not ever. It destroys the XML format of the script file.


Command Location:

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 24949
Joined: Sun, 2. Apr 06, 16:38
x4

[TiP][49] 286398

Post by X2-Illuminatus » Thu, 16. Sep 10, 19:27

*<Comment>


Tipp:
Nutze dies großzügig!
Eine Leeranweisung – macht nichts außer einen Kommentar zum Code hinzuzufügen.

Nutze niemals < oder > in einem Kommentar. Diese Zeichen zerstören das xml-Format der Scriptdatei.


Zu finden unter:
Last edited by X2-Illuminatus on Wed, 24. Nov 10, 20:32, edited 1 time in total.

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

[TiP] [34] 286398

Post by Capux » Thu, 23. Sep 10, 19:13

*<Comment>

Consiglio:
Usatelo largamente!
E' una istruzione nulla - non fa nulla ma aggiunge un commento al codice. Utilissimo per inserire dei promemoria per trovare facilmente vari punti dello script o per appuntarsi il significato del loro utilizzo o per escludere momentaneamente parti di codice da reinserire successivamente (per fare dei test sul codice già presente senza la nuova parte ad esempio).

Non usare i caratteri > e < in un commento in quanto distruggono il formato XML del file dello script.


Posizione dell'istruzione nella lista:
Last edited by Capux on Thu, 23. Sep 10, 20:00, edited 1 time in total.

Locked

Return to “MSCI Reference”