In legacy code, I have found a "Dim" statement without type in classic vbscript / classic asp
Dim x1
Is there a default type (such as object) that x1 acquires?
Is it true that vb might 'work backwords' and if later it encounters x1 =3 or x1 = 'Name'
it will assign the relevant type (integer and string) respectively?
NOTE: The code involved really does work in the real world. Therefore, this isn't a bug, just an unfortunate (IMHO) 'feature' of classic VB ...
Thanks