Oxygen Basic
Programming => Example Code => General => Topic started by: Charles Pegge on February 05, 2015, 01:28:39 PM
-
These allow macros to be grouped together, and acessed using the familiar dot notation, used in UDTs and OOP.
Available for both kinds of macro:
macro m()
macro .a(v)
print "A: " v
end macro
'
macro .b(v)
print "B: " v
end macro
end macro
'#recordof m
m.a 123
m.b 123
def m
def .a
print "A: " %1
end def
'
def .b
print "B: " %1
end def
end def
'#recordof m
m.a 456
m.b 456
[