classes with accept properties

Started by Thomas Bock, June 05, 2019, 10:37:30 AM

Previous topic - Next topic

Thomas Bock

For the ease of use I wish there would be no error 88 when accessing a previously unassigned property. The standard empty value should be returned, which is $$ or zero.

! sample class
def class "miniEnv" accept properties
end def

! sample use
e=new("miniEnv")
print e'missingProp ---> Error 88