[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Irritating sqr error



Bing.  Ray gets it in one.
Important safety tip, either don't end your variables with # or $ or don't use let.
The message is sort of misleading:
   (SQR 4000) Result #variable or $variable or '=' missing in expression.

Important safety tip, if you want to use let then don't end  variables with # or $.

If only PS hadn't named all these fields page#, line#, transit#, etc etc etc.

jim

>>> Ray Ontko <rayo@ONTKO.COM> 10/27/99 02:15pm >>>
Jim,

Very interesting.  It appears that the second is rejected by
the compiler.  Note that this is also rejected:

   let $transit$ = '041001939'

Interestingly, the following is NOT rejected:

   let $x = $transit#

Ray

> I don't know how many times this one has bitten me....
>
> Which of the following will cause a compile error?
>
> Move '041001939'   to $Transit#
>   or
> Let $Transit#  = '041001939'
>
> jim
>

----------------------------------------------------------------------
Ray Ontko   rayo@ontko.com   Phone 1.765.935.4283   Fax 1.765.962.9788
Ray Ontko & Co.   Software Consulting Services   http://www.ontko.com/