PxPlus User Forum

Main Board => Discussions => Wish List => Topic started by: Thomas Bock on June 05, 2019, 10:37:30 AM

Title: classes with accept properties
Post by: Thomas Bock on June 05, 2019, 10:37:30 AM
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