inheritance_01.bmx 391 B

1234567891011121314
  1. SuperStrict
  2. Framework Brl.StandardIO
  3. 'this "queue" import IS NOT NEEDED because it gets imported by
  4. '"extend" already. BUT : if you import "queue" you check if the
  5. 'information is correctly processed by the compiler.
  6. Import "inheritance_01.queue.bmx"
  7. Import "inheritance_01.extend.bmx"
  8. local queue:MyTypeQueue = new MyTypeQueue
  9. queue.insert(new MyOtherType)
  10. print "compiled"