HP 2000 BASIC help / TREK73

From: J.C. Wren <jcwren_at_jcwren.com>
Date: Tue Nov 11 09:52:51 2003

        Could the 14 be a field width specifier, so that it prints "SULU" with either
10 leading or 10 trailing spaces?

        --John

On Tuesday 11 November 2003 10:39 am, Vintage Computer Festival wrote:
> On Mon, 10 Nov 2003, Frank Schickel wrote:
> > > What does '14 in a PRINT statement, in front of a quoted string, mean
> > > (eg in PRINT '14"SULU")? I wondered if it were something like PRINT
> > > TAB(14)"... but there are TAB()s elsewhere. A control character,
> > > perhaps? If cursor or screen control, are they octal or decimal (I'd
> > > guess decimal) and is there a table anywhere?
> >
> > I'm not sure about this one, but this may have been a way to print
> > control characters in a PRINT statement without using CHR$(). If so,
> > what would a control-n do on a teletype? I thought it *might* be octal,
> > but that would make it a form-feed, which wouldn't make much sense
> > in the status sections because it would print <FF>TORPEDOES<FF> and
> > then the status, which would waste a *lot* of paper....
>
> I'm pretty sure it's an inline tab specifier. I seem to recall using this
> is some form of BASIC on some computer at some point in my past.
Received on Tue Nov 11 2003 - 09:52:51 GMT

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:36:18 BST