Classic Computer Magazine Archive COMPUTE! ISSUE 54 / NOVEMBER 1984 / PAGE 10

IBM Automatic Proofreader Enhancement

Some readers have been having problems with SAVE and LOAD on the IBM Automatic Proof­reader. A space must be used between the command and the filename. Leaving it off causes a syntax error:

SAVE "filename" [correct]
SAVE "fllename" [incorrect]

Reader Mike Duch offers the following modification that lets you leave out the space between the command and the filename:

270 DELIMITER = INST (TEXT$," ") : COMMA ND$ = TEXT$ :
    ARG$ = " " : IF DELIMITER THEN COMMAND$ = LEFT$
    (TEXT$, DELIMITER – 1) : ARG$ = MID$ (TXT$, DELIMITER + 1) : GOTO 280
275 DELIMITER = INSTR (TEXT$, CHR$ (34)) : COMMAND$ = TEXT$ :
    ARG$ = " " : IF DELIMITER THEN COMMAND$ = LEFT$
    (TEXT$, DELIMITER – 1) : ARG$ = MID$ (TEXT$, DELIMITER)
620 IF INSTR (ARG$, ".") = 0 THEN ARG$ =
    ARG$ + ".asc"