![]() ![]() |
|||||||||||||||||||||||||||
Variables allow you to store numbers and text which can be modified during the course of a script's runtime. Variables are designated by names which can contain any sequence of numbers or letters. The first character of a variable name, however, must always be a specific symbol, otherwise known as that variable's identifier. The maximum length for a variable name is 32 characters. Alambik lets you use five kinds of variables:
ObjectID, Ps : Variable names are limited to 32 chars Following is a table of the identifiers and ranges for different variable types.
|
![]() ![]() |
Automatic conversion int <-> float To convert a numerical value into text: "" (Full display) "### ###.##" To convert a number into ASCII: Char = Text.char.convert
(Digit) To convert text into a number : Number = Number.convert(String) To convert a character into a number: Digit = Number.digit.convert
(Char) To convert an RGB color into a Packed color : ColorPacked = Number.color.convert (Red, Green, Blue) |