ack/doc/pascal/extensions.doc
1991-11-01 09:43:36 +00:00

61 lines
1.7 KiB
Plaintext

.pl 12i
.sp 1.5i
.NH
Extensions to Pascal as specified by ISO 7185
.nh
.IP "\fBISO 6.1.3:\fR" 14
\h'-11u'The underscore is treated as a letter when the \-u option is turned
on (see also section 5.2). This is implemented to be compatible with
Pascal-VU and can be used in identifiers to increase readability.
.sp
.IP "\fBISO 6.1.4:\fR"
\h'-12u'The directive \fIextern\fR can be used in a procedure-declaration or
function-declaration to specify that the procedure-block or function-block
corresponding to that declaration is external to the program-block. This can
be used in conjunction with library routines.
.sp
.IP "\fBISO 6.1.9:\fR"
\h'-22u'An alternative representation for the following tokens and delimiting
characters is recognized:
.in +5m
.ft 5
\fBtoken
.ft 5
\& \fBalternative token
.ft 5
.sp
^
\& @
.br
[
\& (.
.br
]
\& .)
.ft 5
\fBdelimiting character
.ft 5
\& \fBalternative delimiting pair of characters
.ft 5
.sp
{
\& (*
.br
}
\& *)
.in -5m
.sp
.IP "\fBISO 6.6.3.7.2:\fR"
\h'-1u'A conformant array parameter can be passed as value conformant array
parameter without the restrictions imposed by the standard. The compiler
gives a warning. This is implemented to keep the parameter mechanism orthogonal (see also Chapter 4).
.sp
.IP "\fBISO 6.9.3.1:\fR"
\h'-16u'If the value of the argument \fITotalWidth\fR of the required
procedure \fIwrite\fR is zero or negative, no characters are written for
character, string or boolean type arguments. If the value of the argument
\fIFracDigits\fR of the required procedure \fIwrite\fR is zero or negative,
the fraction and '.' character are suppressed for fixed-point arguments.