X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=adoc%2Fp_read_word.adoc;h=95baa767f5abe960d66ad6c15073c3889977b594;hb=39427aee877cab09feea798b146e06dc7bfc25cc;hp=76bb0e60789c9c8c826559616d6e28bfb42ba587;hpb=656f37efbd89db1b1088281047a9633cf74e92ec;p=rrq%2Frrqforth.git diff --git a/adoc/p_read_word.adoc b/adoc/p_read_word.adoc index 76bb0e6..95baa76 100644 --- a/adoc/p_read_word.adoc +++ b/adoc/p_read_word.adoc @@ -13,3 +13,17 @@ cell pointer for it. The characters of the word are copied to <>, and there is a limit of 1024 characters. At the end of the stream READ-WORD returns 0 length. + +.Whitespace +[caption='Special syntax {counter:syntax}: '] +==== +All character codes less or equal to 32 are regarded as "whitespace". +==== + +.Rest-of-line comment +[caption='Special syntax {counter:syntax}: '] +==== +The "#" character following whitespace starts a line comment and the +rest of the line is ignored. Note that this is also recognised with +<>. +====