Bug Reports - Enhancements

BlitzMax Forums/Brucey's Modules/Bug Reports - Enhancements

Artemis(Posted 2008) [#1]
Hi,

I think there should be a separated topic for this so I created this one.

Here comes the first "bug":
In wxProgressDialog the two Methods UpdateProgress and Pulse need the actual optional parameter skip because it's not set to Null by default. Isn't BlitzMax able to give a standard value for parameters passed as references?


Brucey(Posted 2008) [#2]
Isn't BlitzMax able to give a standard value for parameters passed as references?

I don't think so, because a default value would effectively be a "const", which you can't modify.

The only other option is to have extra methods which have a different set of parameters (ie. without a skip param), but this can make it more confusing - having to choose which to use.