[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [StrongED] Manual ID
In message <5732d4a583Lists@xxxxxxxxxxx>
"Richard Torrens (lists)" <Lists@xxxxxxxxxxx> wrote:
> I am trying to understand #ID_FirstChar etc.
>
> But what exactly is an ID and where is it used? StrongHelp gives no help!
ID is short for identifier and in most cases this refers to variables in
a programming language. Basically anything that isn't defined in the
ModeFile by means of a SyntaxWords group or a SyntaxComment is coloured
as 'Identifiers' _if_ the ID keywords are defined, otherwise the 'Text'
colour is used.
ID_FirstChar defined what characters an identifier can start with. Some
programming languages have restrictions on this, eg in BBC BASIC IDs
can't start with a digit.
ID_Middle defines which characters can be in the middle (ie not first or
last) of an identifier.
ID_LastChar is used for special characters that can only be used at the
end of an identifier. In BBC BASIC integer variables end with '%', and
string variables with '$'.
Cheers,
Fred.
--
StrongED Developer
http://www.stronged.iconbar.com/
--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxx
List archives and instructions at
http://stronged.torrens.org/index.html