extensions.doc 1.7 KB

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