EnTerr
12 years agoRoku Guru
List of Reserved Words in BrS - where is it?
Reading the RTFM -
Where is said list of language reserved words? Seems as if it ended on the cutting room floor during the conversion to wiki - but i have vague memory of seeing that list somewhere in the days of yore.
As a bonus question, why EndFor and ExitFor are not reserved words whereas EndWhile, ExitWhile, EndIf, ElseIf, EndSub/EndFunction are?
ps. as commentary, there are a a few programming languages in which there are no reserved words (like PL/1 and Fortran, if i recollect), so something like this (it assigns to variable IF the bigger of two values THEN and ELSE)
"3.1 Identifiers" wrote:
* may not use a "reserved word" as the name (see appendix for list of reserved words).
Where is said list of language reserved words? Seems as if it ended on the cutting room floor during the conversion to wiki - but i have vague memory of seeing that list somewhere in the days of yore.
As a bonus question, why EndFor and ExitFor are not reserved words whereas EndWhile, ExitWhile, EndIf, ElseIf, EndSub/EndFunction are?
ps. as commentary, there are a a few programming languages in which there are no reserved words (like PL/1 and Fortran, if i recollect), so something like this (it assigns to variable IF the bigger of two values THEN and ELSE)
IF = IF THEN > ELSE THEN THEN ELSE ELSE FIcan be a valid statement and meaning is determined by context. But in most languages that is not the case, BASIC included (which bright script is dialect of).