16.10.2017, 13:12
Thanks for your observations. The list is indeed incomplete, and was not meant as some sort of documentation.
ad 1) I agree, but PSPad (the editor I use for Pawn) doesn't support this feature, so I had to go this way.
ad 2) The list is not exhaustive, and the line is somewhere between "I use this", and "I don't use this", if it is a custom macro.![Tongue](images/smilies/razz.gif)
ad 3) I don't use "function", but I have seen it somewhere, so I decided to include it. Speaking of "in", that is actually the syntax I use for "foreach", so that makes it a sort of a contextual keyword. I do not use YSI, but I have made my own foreach extension in the form of "foreach(new plr in players)", for example. I like the "in" syntax (coming from C#) better. I haven't published the foreach macros I use anywhere, but I may do so some day.
ad 4) I am aware of that, and as mentioned in the footnote, the categories are not neccessarily accurate. Soft tags are in one category, predefined strong tags in the other, and SA-MP tags in the rest. It's for visual differentiation, not for logical classification.
ad 5, 6) That's another reason why I posted this - so that other people would find missing keywords and constants. Thanks, I see no reason not to add them.
The inspiration for these categories was the SA-MP Wiki and its "syntax highlighting", so that's the reason why some keywords are in a "wrong" category
ad 1) I agree, but PSPad (the editor I use for Pawn) doesn't support this feature, so I had to go this way.
ad 2) The list is not exhaustive, and the line is somewhere between "I use this", and "I don't use this", if it is a custom macro.
![Tongue](images/smilies/razz.gif)
ad 3) I don't use "function", but I have seen it somewhere, so I decided to include it. Speaking of "in", that is actually the syntax I use for "foreach", so that makes it a sort of a contextual keyword. I do not use YSI, but I have made my own foreach extension in the form of "foreach(new plr in players)", for example. I like the "in" syntax (coming from C#) better. I haven't published the foreach macros I use anywhere, but I may do so some day.
ad 4) I am aware of that, and as mentioned in the footnote, the categories are not neccessarily accurate. Soft tags are in one category, predefined strong tags in the other, and SA-MP tags in the rest. It's for visual differentiation, not for logical classification.
ad 5, 6) That's another reason why I posted this - so that other people would find missing keywords and constants. Thanks, I see no reason not to add them.
The inspiration for these categories was the SA-MP Wiki and its "syntax highlighting", so that's the reason why some keywords are in a "wrong" category