string variables as external .bas resource
Oct 27, 2013 4:44:55 GMT -5
Post by bfraley on Oct 27, 2013 4:44:55 GMT -5
As in most programming languages there's many ways to achieve the same task or result. I'm looking for the simplest way to define string variables in one .bas program and use them in another.
To clarify, these are string literals I store in variable names. So the values are already assigned and will not change. I would then like to use those variables as references within another application.
I know I can use object(s), or functions as methods of an object, etc.
Also I don't need to exactly print, or render these values either. I just need to be able to access the string values for re-use.
They're just static string literal values to store in a variable name as a reference and I need to refer to them and use their text values in other .bas programs.
This is possible in many ways. Any suggestions or tips on the best way, the simplest way ?
Thanks in advance.
To clarify, these are string literals I store in variable names. So the values are already assigned and will not change. I would then like to use those variables as references within another application.
I know I can use object(s), or functions as methods of an object, etc.
Also I don't need to exactly print, or render these values either. I just need to be able to access the string values for re-use.
They're just static string literal values to store in a variable name as a reference and I need to refer to them and use their text values in other .bas programs.
This is possible in many ways. Any suggestions or tips on the best way, the simplest way ?
Thanks in advance.