[Info-vax] Basic again
Simon Clubley
clubley at remove_me.eisner.decus.org-Earth.UFP
Mon Mar 11 09:41:29 EDT 2024
On 2024-03-11, Arne Vajhøj <arne at vajhoej.dk> wrote:
> On 3/11/2024 9:20 AM, Chris Townley wrote:
>> Surely BASIC has its own formatting. Why manually put in control
>> characters to confuse it?
>>
>> print "XXX"
>> print "YYY"
>> print ""
>> print "ZZZ"
>>
>> will simply give:
>>
>> XXX
>> YYY
>>
>> ZZZ
>>
>> if that is what you want
>
> The real context is a CGI script under Apache doing a
> redirect.
>
You didn't mention that bit Arne. :-(
The implication from your posting was that this is an interactive
session problem. This matters because the terminal driver does a
lot of output processing on the data it is asked to display.
Now I know this, try putting your output + CR + LF into a string
and then output the string only in the print statement.
This may or may not make a difference depending on what the Basic
RTL does with the string.
Simon.
--
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.
More information about the Info-vax
mailing list