Fix blk overflow in usage guide index

This commit is contained in:
Virgil Dupras 2020-05-22 20:39:28 -04:00
parent a2136e604d
commit 581c6d015c
3 changed files with 15 additions and 14 deletions

View File

@ -10,8 +10,7 @@ the dictionary (B30) for a word reference.
Contents
4 Number literals 6 Compilation vs meta-comp.
5 Number literals 6 Compilation vs meta-comp.
8 Interpreter I/O 11 Signed-ness
14 Addressed devices 17 DOES>
18 Disk blocks 21 How blocks are organized
22 Addressed devices
18 Disk blocks (cont.)

12
blk/004
View File

@ -1,11 +1 @@
Number literals
Traditional Forth often use HEX/DEC switches to go from decimal
to hexadecimal parsing. Collapse OS parses literals in a way
that is closer to C.
Straight numbers are decimals, numbers starting with "0x"
are hexadecimals (example "0x12ef"), "0b" prefixes indicate
binary (example "0b1010"), char literals are single characters
surrounded by ' (example 'X'). Char literals can't be used for
whitespaces.
21 How blocks are organized 22 Addressed devices

12
blk/005 Normal file
View File

@ -0,0 +1,12 @@
Number literals
Traditional Forth often use HEX/DEC switches to go from decimal
to hexadecimal parsing. Collapse OS parses literals in a way
that is closer to C.
Straight numbers are decimals, numbers starting with "0x"
are hexadecimals (example "0x12ef"), "0b" prefixes indicate
binary (example "0b1010"), char literals are single characters
surrounded by ' (example 'X'). Char literals can't be used for
whitespaces.