Fix fifth-pass OCR errors in Basic09 command reference
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Updated Basic09 Command Reference (markdown)
Updated Basic09 Command Reference (markdown)
Fix fourth-pass OCR errors in code samples and prose
Correct digit/letter substitutions (0↔O, 1↔l, S↔5, C↔(, backtick↔'),
corrupted format strings (PRINT USING), missing closing parens/quotes,
and typos in prose (padded, dirfile, BOOLEAN, RETURN).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fix remaining OCR artifacts and typos
- promp4 → prompt in INPUT syntax
- ANSWER;STRING → ANSWER:STRING (semicolon vs colon)
- STRING[G] → STRING[6] (G/6 substitution)
- Hetter → Better (two instances)
- ]PRINT → PRINT (stray bracket)
- Hexadecimal em dash → hyphen in string literal
- PRINT USING em dash → hyphen in numeric example
- BooleanL → Boolean: and justifcation → justification
- STEP –1 → STEP -1 (em dash, four instances)
- FORMUA → FORMULA
- WORK_REC.NAME=" → WORK_REC.NAME="" (missing closing quote)
- WORK-REC → WORK_REC (hyphen vs underscore)
- PI· → PI* (middle dot vs multiply)
- STEP.S → STEP.5
- T>,1 → T>1 (stray comma)
- [ PRINT → PRINT (stray bracket), lowercase a → A
- "_ " → "= " (underscore vs equals)
- N=1 +LEN → N=1+LEN (extra space)
- Missing closing paren in VAL(MID$(...))
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fix additional OCR errors, formatting, and code block issues
- Merge adjacent code blocks sharing the same sample (CHAIN, RUN/insert)
- Fix OCR corruptions: RNDC9) → RND(9), PEEKC → PEEK(, SQC → SQ(,
STR$CN) → STR$(N), PUT \`PATH → PUT #PATH, TAH → TAB, JOH → JOB,
STRTING → STRING, xPATH → #PATH, He Sure → Be Sure, HASIC09 → Basic09
- Fix spacing: ANUM= → ANUM=, WEEKDAY (INUM) → WEEKDAY(INUM), etc.
- Fix TMODE syntax: -ECHO/-PAUSE (Unix flags) → EKO=0/PAU=0 (OS-9 syntax)
- Fix PRINTER-PATH → PRINTER_PATH (hyphen vs underscore)
- Fix OPEN dirfile quote: :dirfile" → "dirfile"
- Reformat run-on Notes: bullets into separate blockquotes
- Reformat OPEN access mode table into markdown list
- Fix indentation and line merges in INKEY/SimpleCalculator sample
- Fix DATA string: "i5..." → "is...", restore correct DATA box width
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Split SYSCALL parameters bullet into bullet and prose paragraph
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Rename sample PROCEDURE labels from keywords to descriptive names
Replaces keyword-based names (ABS, FOR, IF, etc.) with descriptive
names that reflect what each sample program actually does
(AbsoluteValue, MultiplicationTable, FilePurge, etc.).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add PROCEDURE header to all sample code blocks
Each sample program now begins with PROCEDURE <name> as the first line
inside the code fence, matching Basic09 procedure syntax. Named
procedures (dirlook, display, WriteCall, Readcall, etc.) use their
original names; all others derive from the section command name.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fix ~75 OCR artifacts: typos, merged lines, corrupted characters
Fixes include: function names (MID$, CHR$, ACS, SUBSTR), variable names
(LENG, no5, NAME, BOOKS), keywords (LOOP, ENDLOOP, ON ERROR, BOOLEAN),
operators (=, *, <, #), merged DATA lines, broken code blocks in SYSCALL
section, path symbols (#6, #PATH), type separators (colon vs semicolon),
and miscellaneous prose typos throughout.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fix typos, code formatting, and layout issues in command reference
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Normalize spacing after line numbers in code samples
Collapse multiple spaces between line numbers and statements to a
single space (e.g. "10 ON ERROR" → "10 ON ERROR").
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Remove alignment padding before (* inline comments
Collapse multiple spaces before (* comments down to a single space
throughout all code samples.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fix typos and minor inconsistencies in command reference
- CLOSE: align syntax and parameter name (#pathnum → #path)
- GET example: fix OCR artifact INDEX(X) was INDEXCX)
- GET sample: fix UNTIL/CHR$ typos (UNTII, CHRS)
- OPEN: remove stray space in syntax (#path)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Additional formatting cleanup in PRINT USING and BASE sections
Convert PRINT USING format type descriptions (Real, Exponential, Integer,
Hexadecimal, String, Boolean, Control Specifiers) from plain run-on
paragraphs to bullet list items. Simplify BASE syntax from split entries
to a single inline example. Fix spurious blank lines between bullet items.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Rewrite parroting and incomplete Overview sections
25 Overview sections were rewritten to provide richer descriptions
instead of repeating the heading, and to open with complete sentences.
Entries include ACS, ADDR, AND, ASN, ATN, CHD, CHX, DIM, GOSUB/RETURN,
INKEY, INT, LOG10, NEXT, NOT, PI, POS, PRINT, REM, RETURN, SGN, SQ,
SQR/SQRT, STEP, WRITE, and XOR. Also fixed typo "Retuens" in RETURN.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Indent Basic09 code blocks inside control structures
Apply 2-space indentation per nesting level inside all ```text code fences
for IF/THEN/ELSE/ENDIF, FOR/NEXT, REPEAT/UNTIL, LOOP/ENDLOOP,
EXITIF/ENDEXIT, and WHILE/DO/ENDWHILE blocks. Fix edge cases where
ENDEXIT appeared inline after \ and where single-line FOR/NEXT examples
were incorrectly treated as nested loops.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fix formatting consistency in Basic09 Command Reference
- Fix typos: SGN "sigh" → "sign", PUT "ale" → "file"
- Standardize ## heading verb tense to third-person singular (Returns, etc.)
- Add missing colon to REPEAT/UNTIL heading
- Rename duplicate ### Examples to ### Sample in REPEAT/UNTIL
- Wrap TRON/TROFF bare examples in code fence
- Add missing blank lines before ### headings in multiple entries
- Move prose out of code fences in ON ERROR/GOTO and READ
- Consolidate partial code fences in LXOR and LNOT
- Standardize Parameters sections to - *name*: description format (~39 commands)
- Consolidate fragmented code blocks in TYPE examples
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Updated Basic09 Command Reference (markdown)
Clean up BASIC09 wiki code fences
Fix EXITIF formatting in BASIC09 reference
# Conflicts:
# Basic09-Command-Reference.md
Updated Basic09 Command Reference (markdown)
Updated Basic09 Command Reference (markdown)
Updated Basic09 Command Reference (markdown)
Normalize double quotes in BASIC09 command reference
Fix BASIC09 RND wiki section
Align (* comments in code blocks using spaces
Replace tab-based indentation before (* comments with consistent
space alignment within each code block.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Updated Basic09 Command Reference (markdown)
Updated Basic09 Command Reference (markdown)