array_01.bmx 267 B

123456789101112131415161718
  1. Rem
  2. This test checks:
  3. - if adding to arrays is possible
  4. End Rem
  5. SuperStrict
  6. Framework BRL.StandardIO
  7. Type obj
  8. End Type
  9. local objArray:obj[]
  10. 'style A
  11. objArray = objArray[..1]
  12. objArray[objArray.length-1] = new obj
  13. 'style B
  14. objArray :+ [new obj]