Thomas Tempelmann wrote:
Marco Bambini wrote:
IDE gives a "Cannot compile a constant with no name" error for every
constant that begins with a number, for example:
{"2_BYTES = &h1407", NULL, 0},
{"3_BYTES = &h1408", NULL, 0},
{"4_BYTES = &h1409", NULL, 0},
Shouldn't we all know that RB requires identifiers to begin with a letter?
Am I the only one who tends to find this somewhat limiting? I had to
remind myself of this quite often. I got around by using Chinese
characters in those cases where I would have started the name of a
method or property with a number. RB handles this quite nicely.
Of course, I could just have just used i.e. "three_bytes", but I like
the brevity of "三_bytes" (I hope that comes through to the list though).
Ronald Vogelaar
--
http://www.rovosoft.com
--
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|