Global variable default
OK, I give up. How can I default a global variable in a header file, that I may choose to change in the files I'm including the variable in?
foo.sbh can contain:
Global Const x as String = "something"
But cannot do this:
Global x as String = "something"
It looks like I have to define the Global
(non-Const) in the foo.sbh and then my only option is to set it in the 'sub main' of one of the scripts that includes it, BUT I want the default value of x to be "something". I don't want to have to set it everywhere I include foo.sbh. That negates the whole point of having an include file!
Please someone tell me I'm nuts and there's a way to do this.