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

Re: Numeric Vars



What kind of Error is received.
There could be error  in the procedure you are
calling....
--- Bill Beckner <Bbeckner@ICC.CC.IL.US> wrote:
> Here's a puzzle for all you SQR experts....
>
> I've got these two numeric variables, assigned the
> same amount, and I
> display their values like this:
>
>     SHOW '#New_Posted_amt ' #New_Posted_amt
>     SHOW '#Ttl_Proj_Amt2  ' #Ttl_Proj_Amt2
>
> And the following shows in the sqr.log:
>
>     #New_Posted_amt 12696.840000
>     #Ttl_Proj_Amt2  12696.840000
>
> When the following comparison is performed:
>
>     if #New_Posted_amt > #Ttl_Proj_Amt2
>         do Print-Error-Message
>     end-if
>
> I always get an error message!!!  Any ideas?  We're
> using SQR 4.3.4
>
> Thanks!!!
>
> Why does SQR
>
> --
> William Beckner -- Stunt Programmer (Just call me
> "Bill")
> Illinois Central College, Rm L141 -- East Peoria, IL
>  61635-0001
> PH: (309) 694-8419 -- FAX: (309) 694-8995
> "An unfinished thought is like a day without..."


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/