[osflash] haXe compiler preview
hank777 at gmail.com
Mon Nov 14 08:51:05 EST 2005
Oh, ok. I get it. Thats better. I thought it meant that a and b were
of type bool.
On 11/14/05, Nicolas Cannasse <ncannasse at motion-twin.com> wrote:
> hank williams wrote:
> > One thing I just saw, which I like is the ability to declare multiple
> > variables with one var
> > like this:
> > var a, b : Bool, c : Int = 0;
> > My only complaint is I dont really like using a comma to mean two
> > different things on the same line. Here, the first comma is listing
> > variables of a given type. But the second comman is a separator
> > between variables of different types.
> The comma have same meaning here.
> This expression is declaring three variables :
> - a untyped
> - b Bool
> - c Int = 0
> osflash mailing list
> osflash at osflash.org
More information about the osflash