AS2 variable type
AS2 variable type
Out of context: Reply #4
- Started
- Last post
- 13 Responses
- unfittoprint0
Strict Data Typing it's good code policy.
ie. use a single type for each variable [boolean, string, number, etc...]
the same for function: Void [when no var return's required], Boolean/Number/String etc.... for everything else.
it really makes you code easier to read/understand and easier to target specific bugs.
some reading on this subject:
http://www.stevenhargrove.com/st…
http://livedocs.macromedia.com/f…if you really need a multiple value type of variable you may use the Object var type.