EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
<RetVar> = datatyp[ <Value> ]
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: 1384 on topic
Location: Newcastle - Australia
Thank you for registering your game
PostPosted: Thu, 9. Sep 10, 12:46    Post subject: <RetVar> = datatyp[ <Value> ] Reply with quote Print

<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
View user's profile Send private message Send e-mail
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)

MEDALMEDALMEDAL

Joined: 02 Apr 2006
Posts: 14810 on topic

Thank you for registering your game
modified
PostPosted: Tue, 28. Sep 10, 22:19    Post subject: [TiP][49] 286534 Reply with quote Print

<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
View user's profile Send private message Visit poster's website
Capux



MEDALMEDALMEDAL

Joined: 31 Oct 2009
Posts: 2129 on topic
Location: Seconda stella a destra, questo è il cammino, e poi dritto fino al mattino... (Genova)
Thank you for registering your game
PostPosted: Tue, 28. Sep 10, 22:34    Post subject: [TiP][34]286534 Reply with quote Print

<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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
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 Sat, 18. May 13, 16:32

All times are GMT + 2 Hours


Board Security

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