Re: [flexcoders] Question from a C developper

2009-03-14 Thread Manish Jethani
You should check out the int, uint, and Number types. The sizes are predefined in ActionScript 3 and not system dependent (e.g. int is always 32-bit signed). Operator overloading is not available. You can create an 'equals' method and use it like so: if (obj1.equals(obj2)) ... You can

Re: [flexcoders] Question from a C developper

2009-03-12 Thread Alain Thibodeau
- Is it possible to define a variable as a long ? int is 32 bits and if you need bigger than go with Number http://livedocs.adobe.com/flex/3/html/help.html?content=03_Language_and_Syntax_11.html   - How to program the overloading of an operator like the equal between 2 objects of a same class.

RE: [flexcoders] Question from a C developper

2009-03-12 Thread Yves Riel
Salut Christophe, Other will definitely pitch in but here are some answers: Is it possible to define a variable as a long ? The data type is Number. It's a IEEE-754 double-precision floating-point number. How to program the overloading of an operator like the equal between 2 objects of a