Category:Data Types

From BISim Wiki - Mirror I
Jump to: navigation, search

The data type of a variables specifies which data it may contain. Certain operators and scripting commands require variables to be of certain types.

Contents

Definition

The data type of a variable depends on the value given to it on initialization.

myVar = "";

=> myVar is now a String

Redefinition

The data type of a variable may be changed at any point of the game by just redefining the variable with another type.

myVar = "";

myVar = 0;

=> myVar is now a Number

Available Types

These are the available data types:

Special Types

There are some special data types, which are not really data types, as they do not describe any particular value, e.g.

Syntactical Helper Types

Some more types are used to provide for a construction of syntactically richer constructs than normal unary / binary operators, e.g.

Subcategories

This category has the following 3 subcategories, out of 3 total.

A

S

Pages in category "Data Types"

The following 17 pages are in this category, out of 17 total.

B

C

D

E

G

L

N

O

S

S cont.

T

Media in category "Data Types"

This category contains only the following file.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox