errata/33: Use of keyword "integer" (Section 17)

From: Daryl.Stewart@cl.cam.ac.uk
Date: Thu Sep 06 2001 - 07:06:21 PDT


>Number: 33
>Category: errata
>Originator: Daryl Stewart
>Description:

<p>Why does the syntax table in section 17.2.1 on p296 show the keyword
"integer" in the syntax of file_open_function while the example in
17.2.2 on p299 does not use the keyword?

It would be simpler to define the syntax as something like
(scuse the html)

file_open_function ::=
 <b>$fopen (</b> <i>file_name_</i>string <b> [ ,</b> type <b> ] )</b>

and describe it with

"If a type is included then the system function $fopen returns a
32 bit file descriptor, otherwise it returns a 32 bit multi channel
descriptor."

There are also (apparently bogus) occurrences of the keyword "integer"
in other sections, including 17.2.4.2, 17.2.4.3, 17.2.4.4, 17.2.5,
17.2.7. (there may be more)

If these are attempts to type-annotate the function results, they are
inconsistent with many other pieces of section 17 which make no use of
the keyword...



This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:54:45 PDT and
sponsored by Boyd Technology, Inc.