Login

email address:

password:

Products

Development Software

Open Source Software

Pyxis Boards

Int

Creates a new variable of the integer type. Ints's take 2 bytes of RAM.

Variables can be created as single values or as arrays. To create a value as an array place the size of the array to the right of the variable name in brackets (ie char string[6] creates an array of 7 characters; note 0 to 6 = 7).

Variables can be assigned values when declared (ie int i = 32). Variables not assigned a value when declared will have a default value of 0 (zero).

Reference Home