En:Data types
Материал из Pocket Fallout для КПК на PDA PC PPC Mobile.
PFSL language is not strong typing of language. By default any variable has universal (basic) type. Analogue in other languages is data type "Variant". However, in PFSL, the interpreter sets variable type on the first initialization of variable. I.e. on creation of a variable or the instructions of parameter of procedure/function - the data type is not set IN ANY WAY In the MODULE TEXT . However, with a convenience view reading instruction, the agreement is accepted:
[править]
Important note
Parameter (variable) type is declared for information in the documentation, after a colon (:), as follows :
<variable_name> : <data_type>
[править]
Types list
- String - String
- Number - Number
- Boolean - Boolean
- Enumeration - Enumeration
- BasicType - Basic type
- Object - Object
- Array - Array
[править]
See also
- Enumerations list
- Function CreateObject