7.6.2.2535 \ backslash BLOCK EXT

Extend the semantics of 6.2.2535 \ to be:

Compilation:

Perform the execution semantics given below.

Execution:

( "ccc<eol>" -- )

If BLK contains zero, parse and discard the remainder of the parse area; otherwise parse and discard the portion of the parse area corresponding to the remainder of the current line. \ is an immediate word.

ContributeContributions

JimPetersonavatar of JimPeterson [279] "... the remainder of the current line."?Request for clarification2023-02-11 16:04:29

While 7.3.3 states "A block is conventionally displayed as 16 lines of 64 characters.", this doesn't really solidly define what "... the remainder of the current line." actually means. Does it mean to imply that \ will skip >IN to the next multiple of 64, or would CR characters terminate a line?

ruvavatar of ruv

what "... the remainder of the current line." actually means. Does it mean to imply that \ will skip >IN to the next multiple of 64, or would CR characters terminate a line?

According to the section 7.4.1.1 Implementation-defined options, it's an implementation-defined option:

  • the length of a line affected by 7.6.2.2535 \ (if implemented).

It means that if a program has source code in blocks, an it employs the system's implementation for the word \ (line comments), then this program has an environmental dependency concerning the length of a block line.

UlrichHoffmannavatar of UlrichHoffmann

Hello @JimPeterson,

your contribution has been discussed in the interim standard's meeting in February 2023.

Source code stored in blocks does not contain any newline or carriage-return characters relevant for the line structure. The line structure is completely imposed by the fixed character count in each line, typically 64 characters.

the remainder of the current line." actually means. Does it mean to imply that \ will skip >IN to the next multiple of 64, or would CR characters terminate a line?

When compiling from blocks (BLK is zero) \ is supposed to skip to multiples of the fixed line length, typically 64 character. No CRs or other control characters are to be considered.

This request for clarification will be put to state closed. It could be revived at any time if further discussion should be required.

Closed
Reply New Version