
'-------
'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
