Guest User

Untitled

a guest
Jul 18th, 2011
237
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Node {
  2.  public var next:Node
  3.  public function foo():void {
  4.  }
  5. }
  6.  
  7. //...
  8.  
  9. for(var l:int = 0; l < loop; ++l) {
  10.  var node:Node=v[l] as Node
  11.  node=node.next
  12. }
  13.  
  14. for(var l:int = 0; l < loop; ++l) {
  15.  var node:Node=v[l] as Node
  16.  node.foo()
  17. }
RAW Paste Data