05-06-2024, 04:10 PM
Hi bartok .. thanks very much for asking this question. I do understand you are feeling somewhat under attack personally and I completely see where you did get a satisfying answer to your query but the subject took on a life of it's own after that point. Your question has highlighted some of the issues I have will my approach to variable names and types. I dim everything and and often get tripped up with string variables. If, at the beginning of my code I have something like Dim Shared A AS String, days later and multiple lines later I'll run into a situation where I have
Print B
Print C
Print A
Print D
And I'll forget that A is printing a string value because it looks like it's the same type as the others.
Where strings are concerned I'm now in the habit of A$ as it pops out
Print B
Print C
Print A$
Print D
Hope you may see the comments here as addressing the issue "DIM - AS - VARIABLE TYPE likely bug" and not bartok personally.
Print B
Print C
Print A
Print D
And I'll forget that A is printing a string value because it looks like it's the same type as the others.
Where strings are concerned I'm now in the habit of A$ as it pops out
Print B
Print C
Print A$
Print D
Hope you may see the comments here as addressing the issue "DIM - AS - VARIABLE TYPE likely bug" and not bartok personally.