|
A variable is a reserved space of memory to allocate a value, and this space is defined by types.
First we must define a bit, one bit is a binary value that can be 0 or 1, two logical values.
Types:
Ext | Name | Range | Memory consumption |
.b | Byte | -128 to +127 | is really 8 Bits |
.w | Word | -32768 to +32767 | is really 2 Bytes |
.l | Long | -2147483648 to +2147483647 | is really 4 Bytes |
.f | Float | Unlimited | special format to allocate floats numbers, 4 Bytes |
.s | String | String lenght + 1 | is really 4 Bytes, that contain the address where the string is allocated |
|
|