IonicWind Software

Aurora Compiler => General Discussion => Topic started by: Parker on January 12, 2006, 08:13:54 PM

Title: Possible bug
Post by: Parker on January 12, 2006, 08:13:54 PM
I've found that sometimes statements like this don't work quite right:
if (*text[pos] <> "\"" and *text[pos] <> "\\")
and adding paranthesis doesn't really help. But changing the quoted values to the ASCII code number works. I know we'll soon have the ' ' syntax so it's not too bad, but I just thought I should note it anyway.

I don't know if that particular code would fail, I've just found some problems there.
Title: Re: Possible bug
Post by: Ionic Wind Support Team on January 12, 2006, 09:30:34 PM
Try:

if (*text[pos] <> "\"") and (*text[pos] <> "\\")

Title: Re: Possible bug
Post by: Parker on January 13, 2006, 08:44:09 PM
It still doesn't work, so I'll have to keep with the char codes for now. The ' ' quotes would be a really nice thing to have right now.
Title: Re: Possible bug
Post by: Parker on January 14, 2006, 11:48:59 AM
Nevermind, nevermind. It does work.
while ((*pText[pos] <> " ") and (*pText[pos] <> "\t") and (*pText[pos] <> 0))