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

[flexcoders] Question from a C developper

2009-03-12 Thread christophe_jacquelin
Hello, I am a C developper and now I am developing in Action Script. I have questions about ActionScript - Is it possible to define a variable as a long ? - How to program the overloading of an operator like the equal between 2 objects of a same class. - What is the equivalent of a

Re: [flexcoders] Question from a C developper

2009-03-12 Thread Alain Thibodeau
: [flexcoders] Question from a C developper Hello, I am a C developper and now I am developing in Action Script. I have questions about ActionScript - Is it possible to define a variable as a long ? - 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