EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
append <Value> to array <Var/Array>
Post new topic This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic
Author Message
mark_a_condren





Joined: 03 Aug 2005
Posts: 1385 on topic
Location: Newcastle - Australia
Thank you for registering your game
PostPosted: Mon, 13. Sep 10, 19:55    Post subject: append <Value> to array <Var/Array> Reply with quote Print

append <Value> to array <Var/Array>


<Value> = The value that is to be appended (added to the end of) the selected array.
<Var/Array> = The array that is to have the value added to it.


Adds a new value to the end of the specified array.
The target array is one element larger after this instruction executes.
This command will only work with an existed array. If the array does not exsist it must be created first.

Example:

$value = 5
append $value to array $this.array

This would add the $value (5) to the end of the array $this.array.


Command Location:



Back to top
View user's profile Send private message Send e-mail
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)

MEDALMEDALMEDAL

Joined: 02 Apr 2006
Posts: 20332 on topic

Thank you for registering your game
PostPosted: Sat, 9. Oct 10, 21:32    Post subject: [TiP][49] 286845 Reply with quote Print

append <Value> to array <Var/Array>


<Value> = Der Wert, der an das (Ende des) ausgewählten Array angehängt wird.
<Var/Array> = Das Array, dem der Wert angehängt wird.


Fügt einen neuen Wert ans Ende des angegebenen Arrays an.
Das Ziel-Array ist nach der Ausführung dieses Befehls um ein Element größer als vorher.
Dieser Befehl funktioniert nur mit einem bereits existierenden Array. Wenn das Array noch nicht existiert, muss es zunächst erstellt werden.

Beispiel:

$value = 5
append $value to array $this.array

Dies würde den Wert $value (5) an das Array $this.array anhängen.


Zu finden unter:



Back to top
View user's profile Send private message Visit poster's website
Juggernaut93



MEDAL

Joined: 17 Jul 2011
Posts: 2296 on topic
Location: DeVries/Verità Accecante/Corona Ardente
Thank you for registering your game
PostPosted: Wed, 31. Jul 13, 11:42    Post subject: [39]286845 Reply with quote Print

append <Value> to array <Var/Array>


<Value> = Il valore da appendere (cioè inserire alla fine) all'array selezionato.
<Var/Array> = L'array a cui deve essere aggiunto il valore.


Aggiunge un nuovo valore alla fine dell'array specificato.
L'array di destinazione è più grande di un elemento dopo l'esecuzione di quest'istruzione.
Questo comando funzionerà solo con un array esistente. Se l'array non esiste deve essere prima creato.

Esempio:

$value = 5
append $value to array $this.array

Quest'istruzione aggiunge $value (5) alla fine dell'array $this.array.


Posizione dell'istruzione nella lista:



Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic This topic is locked: you cannot edit posts or make replies.
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Fri, 20. Oct 17, 23:50

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2017
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.23454 seconds, sql queries = 17