[APBeta] Parameter defaults

Gary A. Ferguson garyfe at fergos.com
Fri Jan 9 16:09:09 PST 2009


I keep having to change lines like:
c=new Canvas(800,1000,"Magnification")
into lines like:
c=new Canvas(800,1000,nil,"Magnification",true)
which is fine, things change, it's a new version after all. But why can't I
use:
c=new Canvas(800,1000,,"Magnification") ?
 
The 2 new fields in the constructor appear to be defaulted according to the
framework, so it seems like I shouldn't have to provide explicit values. Is
this just something about the particular version of BASIC that I don't
understand?
 
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.astroplanner.net/pipermail/apbeta-astroplanner.net/attachments/20090109/2578b47a/attachment-0002.htm>


More information about the APBeta mailing list