Pristine Ack-5.5
[Ack-5.5.git] / doc / pascal / extensions.doc
1 .pl 12i
2 .sp 1.5i
3 .NH
4 Extensions to Pascal as specified by ISO 7185
5 .nh
6
7 .IP "\fBISO 6.1.3:\fR" 14
8 \h'-11u'The underscore is treated as a letter when the \-u option is turned
9 on (see also section 5.2). This is implemented to be compatible with
10 Pascal-VU and can be used in identifiers to increase readability.
11 .sp
12 .IP "\fBISO 6.1.4:\fR"
13 \h'-12u'The directive \fIextern\fR can be used in a procedure-declaration or
14 function-declaration to specify that the procedure-block or function-block
15 corresponding to that declaration is external to the program-block. This can
16 be used in conjunction with library routines.
17 .sp
18 .IP "\fBISO 6.1.9:\fR"
19 \h'-22u'An alternative representation for the following tokens and delimiting
20 characters is recognized:
21 .in +5m
22 .ft 5
23 \fBtoken
24 .ft 5
25 \&                    \fBalternative token
26 .ft 5
27 .sp
28 ^
29 \&                       @
30 .br
31 [
32 \&                       (.
33 .br
34 ]
35 \&                       .)
36
37 .ft 5
38 \fBdelimiting character
39 .ft 5
40 \&         \fBalternative delimiting pair of characters
41 .ft 5
42 .sp
43 {
44 \&                       (*
45 .br
46 }
47 \&                       *)
48 .in -5m
49 .sp
50 .IP "\fBISO 6.6.3.7.2:\fR"
51 \h'-1u'A conformant array parameter can be passed as value conformant array
52 parameter without the restrictions imposed by the standard. The compiler
53 gives a warning. This is implemented to keep the parameter mechanism orthogonal (see also Chapter 4).
54 .sp
55 .IP "\fBISO 6.9.3.1:\fR"
56 \h'-16u'If the value of the argument \fITotalWidth\fR of the required
57 procedure \fIwrite\fR is zero or negative, no characters are written for
58 character, string or boolean type arguments. If the value of the argument
59 \fIFracDigits\fR of the required procedure \fIwrite\fR is zero or negative,
60 the fraction and '.' character are suppressed for fixed-point arguments.