[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: not equal comparison operators (<> and !=)
On Fri, Apr 05, 2002 at 03:20:03PM -0800, Ken Boettger wrote:
> I was trying it withn an IF statement before the FROM clause. It
> generated an error here on our platform. Can someone confirm my
> observation here. Are there cases where "!=" will be treated as a
> comment? I feel guilty about my first post to this thread and want to
> go home with a clean conscious this weekend.
>
What version of SQR are you using, and what error message do you get?
Can you show us the text of your select paragraph?
There was a bug (#1303) in old versions of SQRs that caused SQR to be
confused if a comment line such as "!=================="
was found in an SQR program, because the "!=" was treated as a
comparison operator and not as a comment. (This was fixed sometime in
SQR v4.)
Other than that bug, you should be able to use != or <> interchangeably,
and to have comments anywhere you like inside a begin-select....
Nathan
----------------------------------------------------------------------------
Nathan Stratton Treadway | Ray Ontko & Co. | Software consulting services
nathant@ontko.com | Richmond, IN | http://www.ontko.com/