voidstar78
Veteran Member
@Agent Orange On the 5110 model2 BASIC hardware that I have, SHIFT-1 does print a double-quote (") but using it for PRINT (or assignment to A$ strings) gives an ERROR 500. So I've always had to use SHIFT-K and use a single quote instead of double quote on that system (which is running its basic using a SYSTEM/3 emulator - i.e. as coded for that system, although offhand I can't find any examples of old BASIC for that system)
@krebizfan Ah, thanks! Yep DIM A$50 or DIM A$80, etc, on up to DIM A$255 works (past 256 gives error 508, which is understandable)
And I just learned two things (verified on h/w and in emulator) - (1) if your line ends up with more than 64 characters, then in listing it repeats the line with an "*" asterisk after it to show the rest of that line (see example below, line "2*" where using a single digit line number, I put in 58 characters then the ending ' at col 64 -- in listing, the ending 678' portion ends up on line 2*). This "longer than 64" can happen since in listing the code, it expands out the line number. (2) And, I entered my code as DIM B$(50) on line 6 - but when I listed it back, it automatically put the 18 in there :D Nice.
Using STR to insert another STR at the end of A$, and the result ends up like this when printed:
(as typed)

LIST clears the screen... The result is 4-column padded line numbers, and DIM got 18 inserted.

EDIT: Looked at old typewriters... QWERTY was developed around 1873 to 1878, and the original QWERTY style patent by Sholes doesn't have double quote
Maybe whatever teletype the System/3 had didn't either? Oh my, it doesn't have1 or 0 either. I guess if you want a 1, press I. And if you want a 0, use O - wild, wonde if any old post Civil War records have "letter I" for 1. Also notice the position of M :D

@krebizfan Ah, thanks! Yep DIM A$50 or DIM A$80, etc, on up to DIM A$255 works (past 256 gives error 508, which is understandable)
And I just learned two things (verified on h/w and in emulator) - (1) if your line ends up with more than 64 characters, then in listing it repeats the line with an "*" asterisk after it to show the rest of that line (see example below, line "2*" where using a single digit line number, I put in 58 characters then the ending ' at col 64 -- in listing, the ending 678' portion ends up on line 2*). This "longer than 64" can happen since in listing the code, it expands out the line number. (2) And, I entered my code as DIM B$(50) on line 6 - but when I listed it back, it automatically put the 18 in there :D Nice.
Using STR to insert another STR at the end of A$, and the result ends up like this when printed:
(as typed)

LIST clears the screen... The result is 4-column padded line numbers, and DIM got 18 inserted.

EDIT: Looked at old typewriters... QWERTY was developed around 1873 to 1878, and the original QWERTY style patent by Sholes doesn't have double quote


Attachments
Last edited: