pointer_01.bmx 215 B

123456789101112131415
  1. Rem
  2. This test checks:
  3. - if function pointers are possible
  4. End Rem
  5. SuperStrict
  6. Framework BRL.StandardIO
  7. Type MyType
  8. Field _func:int()
  9. Method Run:int()
  10. if _func then _func()
  11. End Method
  12. End Type