[Gambas-user] gb.args - Probably a dumb question but ...

Bruce adamnt42 at gmail.com
Thu Feb 13 10:10:37 CET 2020


If Args.Has("t", "today", "Run plots for today") Then $runtoday = True

I have probably done something wrong here but if $runtoday has already 
been set True then that line, if there is no "-t" on the command line 
seems to set $runtoday false.

(Unless I have done something stupid somewhere else?)

Any clues? There doesn't seem to be a default value for "If Args.Has" 
mentioned in the help docs.

tia
b


More information about the User mailing list