Constants ... bug ...

francoisg

Active Member
Licensed User
Longtime User
Hi,
I know the language as it currently stands does not support constant values, so I did the following: Create a Code Module called "Constants"
---------------------------------------------
'Code module
'Subs in this code module will be accessible from all modules.
Sub Process_Globals
abc = "a"
def = "12#"
End Sub
---------------------------------------------

When I now use code completion it give me the following options:
Constants._abc
Constants._def
If I however use it like that the compiler complains - if I use Constants.abc it works ...
 
Happens in a different module. It works perfectly without using dim, the only thing is code completion does not work as expected!
 
Sorry, no ...
I'll see if I can quickly slap something together and upload it for you ...
 
Back
Top