Advertisement
Guest User

Untitled

a guest
May 22nd, 2013
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Strict
  2.  
  3.  
  4. Class SomeAbstract Abstract
  5. End Class
  6.  
  7. Class Some1 Extends SomeAbstract
  8. End Class
  9.  
  10. Class Some2 Extends SomeAbstract
  11. End Class
  12.  
  13.  
  14. Function Main:Int()
  15.  
  16.     Local collection:SomeAbstract[] =[
  17.         SomeAbstract(New Some1()),
  18.         SomeAbstract(New Some2()),
  19.         SomeAbstract(New Some1())]
  20.  
  21.     Return 0
  22. End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement