Code: Select all
class master {
static x := 'default value'
mbx() => msgbox(master.x) ;I want to refer to the class/subclass, not master.
}
class subclass extends master {
static x := 'overridden value'
}
obj := subclass.new()
obj.mbx() ;I want this to display msgbox of the overridden x value