|
|
In article <slr### [at] fwicom>, ron### [at] povrayorg
wrote:
> But that would violate the principle that most commas are optional.
I've never seen anyone write multiple-parameter functions without
commas...and if I did, I would tell them they forgot a comma. I don't
think that is a serious problem...but if you really want to do that, you
can just allow a comma and use the same technique to check the Token_Id
of the next token to see if it was a float, unget it, and use
Parse_Float() if it was a float token.
--
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
<><
Post a reply to this message
|
|