classes | |
class , objects , oop , has , of , from , inherits , virtual , pure , com , private , protected , public , new , del , | |
RELATED: |
structures
type
|
'------- 'CLASSES '======= 'METHODS (IN CLASSES) '==================== class multipliers method cube(f as float) as float return f*f*f end method end class dim multipliers m 'print m.cube 4 'ALTERNATIVE SYNTAX '================== class multipliers { method cube(f as float) as float { return f*f*f } } dim multipliers m 'print m.cube 4 |