J3/04-416
Date: 29th October 2004
To: J3
From: Malcolm Cohen
Subject: Interp request on stop codes
NUMBER:
TITLE: What kind of token is a stop code?
KEYWORDS: STOP, token
DEFECT TYPE: Erratum
STATUS: J3 consideration in progress
QUESTION:
The , when it is a string of s, does not appear to be
specified by the standard to be any particular kind of token. Or indeed
whether it is one token per or one per .
The answer to these questions determines whether blanks are allowed,
disallowed, or optional, in the middle of a STOP statement in free form.
Consider the following statements:
(1) STOP 123
(2) STOP123
(3) STOP 1 2 3
Which, if any, of these statements are standard-conforming?
ANSWER:
Only statement (1) was intended to be standard-conforming.
Edits are supplied to clarify the situation.
EDITS:
[170:23] Replace with "<> "
[170:24+] Insert new constraint
"C834a (R850) The shall not have a
and shall not have more than 5 s."
[170:27] After "significant" insert
"and all stop codes are permissible even if not representable in the
default integer type"
{Maybe some day we should think about requiring default integers to be
useful instead of having this here?}
SUBMITTED BY: Malcolm Cohen
HISTORY: J3/04-416 meeting 170 Submitted