Hello -
I would like to find a way to use a pre-processor directive like the
#define in C++. It seems like the #const in VB can only be used within
other # statements but not outside.
The problem is that I want to set a variable at the very top of the
*.vb file so users will see it and can adjust it if necessary. Then I
want to use the variable in a function call later in the code.
I tried adding a namespace with a const variable at the very top but it
will not work since I have Import statements later on.
Is there a way to do something similiar to what the #define directive
does?
Thanks!
Joe