View Single Post
  #23  
Old 03-22-2008, 01:48 AM
Tolnaftate2004 Tolnaftate2004 is offline
penguin.
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
Tolnaftate2004 is a jewel in the roughTolnaftate2004 is a jewel in the rough
Send a message via AIM to Tolnaftate2004
This is for JavaScript/ActionScript compatibility. `var` in either of these is akin to temp. and static is a `function` qualifier. We don't need it, unless we want to use ActionScript 3. Seems good enough for me.

Quote:
Originally Posted by Stefan
We have decided to change the plan a little bit. We will improve the Graal engine to make it easier to reuse Flash scripts (action script 3). [...] it makes it easier in the future to reuse flash script or let flash scripter make games for Graal.
e: So I guess I should say (since it probably makes more sense), Stefan is saying that e.g. the ActionScript
PHP Code:
static function foo() {
  var 
bar "baz";
  return 
bar;

The static/var keywords here are ignored so that the graal engine can handle it. So your errors would arise from var being ignored (you'd have no legal lvalue in assignment thru var = "something").
__________________
◕‿‿◕ · pfa · check yer syntax! · src

Killa Be: when i got that locker in 6th grade the only thing in it was a picture of a midget useing a firehose :/

Last edited by Tolnaftate2004; 03-22-2008 at 01:59 AM..
Reply With Quote