Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
James — — source: Informix-list mailing list archive (1991-1998)
How can I print a list of numbers in 4gl horizontaly across a page/screen
rather than
vertically? I just want to use the display statement...
for example:
for x = 1 to 100
display x
end for
and I want to get
1 2 3 4 5...
not
1
2
3
...
Thanks
James
↪ replying to James
Christian Brauer — — source: Informix-list mailing list archive (1991-1998)
Don't have your books aside ?
Either user a semicolon to separate each item (for ... display x; end
for)
or use the alternative syntax of display (for ... display x
at row, column end for)
Hth, Chris
James wrote:
> How can I print a list of numbers in 4gl horizontaly across a page/screen
> rather than
> vertically? I just want to use the display statement...
> for example:
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.