[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Edit Masks
Chris Snow wrote:
>
> Hello all. I'm using SQR V3.0.13.3 and am wondering why SQR prints a tick
> (`) in a number value when a number mask is used such as $$999,999.99 or
> 9,999. If the value is shorter than a comma placemark, then the tick prints
> above where the comma would go.
> Example:
> move 999 to &val
> print &val (1,1) edit $999,999.99
>
> yields an output of $ `999.00 (notice the mark)
>
> Can anyone tell me what's going on here?
>
> ________________________________________
> Christopher Snow, Integrity Information Services
> 800-724-5939 pgr
> chris_snow@msn.com
> 'As knowledge increases, wonder deepens'
> Charles Morgan
Hey, Chris!
Variables signed with an ampersand (&), such as your &VAL, are
reserved by SQR for use as the output from database queries.
(BEGIN-SELECT to
END-SELECT). Try to use an SQR numerical variable instead:
MOVE 999 TO #val
PRINT #val (1,1) EDIT $999,999.99
This should help.
Happy computing,
Ken Gartman
- References:
- Edit Masks
- From: Chris Snow <chris_snow@EMAIL.MSN.COM>