Little John wrote:Sicro wrote:"$" = ".s"
Sorry, this is not exactly correct.
In the case of using it as a suffix on the keywords, it is correct and this was the question.
But thank you for clarifying the different meaning of the suffix for variables.
Little John wrote:In contrast, the suffix "$" is part of the variable name. If a string is declared with suffix "$", then that suffix has to be appended always to the variable name:
Yes, that's why I like "$" more than ".s" on string variables. So it is always clear which variables are for numbers and which are for strings, without having to think up a prefix/suffix yourself.
Little John wrote:My suggestion for removing that inconsistency is, not to allow "Global$", "Define$", "Protected$" and "Procedure$" anymore, because that doesn't make sense IMHO.
I think the suffix on "Procedure", "Data" and "Read" is ok, but can also be removed, because it has no advantage over ".s".
For the other keywords, I don't use the suffix:
Nonsense in my case, because I always use the suffix on string variables.
That's enough: