From 581c6d015c4b6b6a28e1de2112f369d5b87b0bd4 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Fri, 22 May 2020 20:39:28 -0400 Subject: [PATCH] Fix blk overflow in usage guide index --- blk/003 | 5 ++--- blk/004 | 12 +----------- blk/005 | 12 ++++++++++++ 3 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 blk/005 diff --git a/blk/003 b/blk/003 index 65b86f4..f79a3ae 100644 --- a/blk/003 +++ b/blk/003 @@ -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.) diff --git a/blk/004 b/blk/004 index c669cf9..aea982b 100644 --- a/blk/004 +++ b/blk/004 @@ -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 diff --git a/blk/005 b/blk/005 new file mode 100644 index 0000000..28e2307 --- /dev/null +++ b/blk/005 @@ -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. +