|
|
 |
View previous topic :: View next topic |
 |
|
|
|
|
Author |
Message |
|
|
|
|
|
mark_a_condren

Joined: 03 Aug 2005 Posts: 1384 on topic Location: Newcastle - Australia

|
Posted: Thu, 9. Sep 10, 12:46 Post subject: <RetVar> = datatyp[ <Value> ] |
|
|
<RetVar> = datatyp[<Value>]
<RetVar> = The variable that will hold the data type returned.
<Value> = This is the items that is having its data type checked.
Returns the data type of the specified variable.
Example:
$data.type.of.input = datatyp[ [PLAYERSHIP] ]
In the above case the $data.type.of.input will be DATATYP_SHIP
-----------------------------------
The available data types:
DATATYP_NULL
DATATYP_UNKNOWN
DATATYP_VAR
DATATYP_CONST
DATATYP_INT
DATATYP_STRING
DATATYP_SHIP
DATATYP_STATION
DATATYP_SECTOR
DATATYP_WARE
DATATYP_RACE
DATATYP_STATIONSERIAL
DATATYP_OBJCLASS
DATATYP_TRANSPORTCLASS
DATATYP_RELATION
DATATYP_OP
DATATYP_EXPR
DATATYP_OBJECT
DATATYP_OBJCOMMAND
DATATYP_FLRET
DATATYP_DATATYP
DATATYP_ARRAY
DATATYP_QUEST
DATATYP_WING
DATATYP_SCRIPTDEF
DATATYP_WINGCMD
DATATYP_PASSENGER
Command Location:
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
X2-Illuminatus Moderator (Deutsch)

 
Joined: 02 Apr 2006 Posts: 14810 on topic

 |
Posted: Tue, 28. Sep 10, 22:19 Post subject: [TiP][49] 286534 |
|
|
<RetVar> = datatyp[<Value>]
<RetVar> = Die Variable, die den zurückgegebenen Dateityp (data type) beinhalten wird.
<Value> = Dies ist der Gegenstand, dessen Dateityp überprüft wird.
Gibt den Dateityp der entsprechenden Variable zurück.
Beispiel:
$datei.typ.der.Eingabe = datatyp[ [PLAYERSHIP] ]
In obigem Fall wird der $datei.typ.der.Eingabe DATATYP_SHIP sein.
-----------------------------------
Die verfügbaren Dateitypen:
DATATYP_NULL
DATATYP_UNKNOWN
DATATYP_VAR
DATATYP_CONST
DATATYP_INT
DATATYP_STRING
DATATYP_SHIP
DATATYP_STATION
DATATYP_SECTOR
DATATYP_WARE
DATATYP_RACE
DATATYP_STATIONSERIAL
DATATYP_OBJCLASS
DATATYP_TRANSPORTCLASS
DATATYP_RELATION
DATATYP_OP
DATATYP_EXPR
DATATYP_OBJECT
DATATYP_OBJCOMMAND
DATATYP_FLRET
DATATYP_DATATYP
DATATYP_ARRAY
DATATYP_QUEST
DATATYP_WING
DATATYP_SCRIPTDEF
DATATYP_WINGCMD
DATATYP_PASSENGER
Zu finden unter:
Last edited by X2-Illuminatus on Wed, 24. Nov 10, 21:57; edited 1 time in total |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Capux

 
Joined: 31 Oct 2009 Posts: 2129 on topic Location: Seconda stella a destra, questo è il cammino, e poi dritto fino al mattino... (Genova)

|
Posted: Tue, 28. Sep 10, 22:34 Post subject: [TiP][34]286534 |
|
|
<RetVar> = datatyp[<Value>]
<RetVar> = La variabile che conterrà il tipo di dati restituito
<Value> = Elemento il cui tipo di dati viene controllato
Restituisce il tipo di dati della variabile specificata.
Esempio:
$data.type.of.input = datatyp[ [PLAYERSHIP] ]
Nel caso qui sopra la variabile $data.type.of.input sarà DATATYP_SHIP
-----------------------------------
Tipi di dati disponibili:
DATATYP_NULL
DATATYP_UNKNOWN
DATATYP_VAR
DATATYP_CONST
DATATYP_INT
DATATYP_STRING
DATATYP_SHIP
DATATYP_STATION
DATATYP_SECTOR
DATATYP_WARE
DATATYP_RACE
DATATYP_STATIONSERIAL
DATATYP_OBJCLASS
DATATYP_TRANSPORTCLASS
DATATYP_RELATION
DATATYP_OP
DATATYP_EXPR
DATATYP_OBJECT
DATATYP_OBJCOMMAND
DATATYP_FLRET
DATATYP_DATATYP
DATATYP_ARRAY
DATATYP_QUEST
DATATYP_WING
DATATYP_SCRIPTDEF
DATATYP_WINGCMD
DATATYP_PASSENGER
Posizione dell'istruzione nella lista:
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
|
|
 |
|
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
|
 |
|
|
|
|
|