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

Re: Show vs. Display



Hi .

Try this

begin-program

 move 'test one' to $test1
 move 'test two' to $test2

 display 'Begin test:' $test1 ' ' $test2
end-program

Robert

> -----Original Message-----
> From: Discussion of SQR, SQRIBE Technologies's database reporting
> language [mailto:SQR-USERS@list.iex.net]On Behalf Of Johnson, Dan
> Sent: Monday, October 04, 1999 10:41 AM
> To: Multiple recipients of list SQR-USERS
> Subject: Re: Show vs. Display
>
>
> All of this display/show talk had me curious so I wrote this test program.
>
> begin-program
>
> move 'test one' to $test1
> move 'test two' to $test2
>
> show 'Begin test:'$test1''$test2
> end-program
>
> and the output was
>
> Begin test:
>
> The values of $test1 and $test2 do not display. Should they? Is this a
> version thing? I am on version 3.
>
>         -----Original Message-----
>         From:   Carlton Conley [SMTP:cconley@CDG-INC.COM]
>         Sent:   Monday, October 04, 1999 12:13 PM
>         To:     Multiple recipients of list SQR-USERS
>         Subject:        Re: Show vs. Display
>
>         There are some fairly meaningless difference including making the
> screen
>         beep but the main difference lies in the ability to
> display multiple
> fields
>         with one command
>
>         for example
>
>         Show 'Returned Value 1 = ' &COLUMN1 ' Returned Value 2 =
> ' &COLUMN2
>
>         vs
>
>         Display 'Returned Value 1 = ' noline
>         Display &COLUMN1 noline
>         Display 'Returned Value 2 = ' noline
>         Display '&COLUMN2
>
>         As for not seeing anything with the display command I always make
> sure I
>         have some test and some way to set off the data for Example using
> Display
>
>         Display 'my value ' no line
>         Display '*" noline
>         Display $whatIwantToDisplay noline
>         Display '*'
>
>         that way if I get my value * *
>
>         then I know there was not a value in what I was trying to display,
> so if you
>         see nothing there may not be a problem with the Show or
> Display but
> your
>         select.
>
>
>         > -----Original Message-----
>         > From: Discussion of SQR, SQRIBE Technologies's database
> reporting
>         > language [mailto:SQR-USERS@list.iex.net]On Behalf Of
> Ross, Steven
>         > Sent: Monday, October 04, 1999 10:31 AM
>         > To: Multiple recipients of list SQR-USERS
>         > Subject: Show vs. Display
>         >
>         >
>         > Does anyone know the difference between the Show command and the
> Display
>         > command?  The SQR manual isn't too clear.
>         >
>         > I've got an SQR that uses both, and for some reason, the Show
> command
>         > doesn't display anything.
>         >
>         > TIA,
>         > Steven Ross
>         > Programmer/Analyst
>         >  <mailto:sross@kcm.org> sross@kcm.org
>         >
>