Default parameters are also supported with OOP methods.
'================
'NAMED PARAMETERS
'================
'-----------
class tester
'===========
private
long va,vb,vc,vd,ve
method constructor ( a=10 as sys, sys b=20 as sys, c=30 as sys, d=40 as sys, e=50 as sys)
'=========================================================================================
'
va<=a,b,c,d,e
'
print "PARAM VALUES:
A " va "
B " vb "
C " vc "
D " vd "
E " ve "
."
'
end method
method destructor()
'==================
'
end method
end class
'====
'TEST
'====
new tester t 1,2,3,4,5
del t
new tester t
del t
new tester t()
del t
new tester t(a=1,e=5)
del t
'print structureof tester