Download HP Pascal for OpenVMS Language Reference Manual

Transcript
The order of evaluation of the following items:
•
Expressions used as discriminant values
•
Index expressions and access to the array or string variable in a
indexed variable
•
Index values of an array variable
•
Expressions d1,...,dn in new(p,d1,...,dn)
•
Expressions of a set member designator
•
Set member designators in a set constructor
•
Operands of a dyadic (binary) operator, except for AND_THEN and
OR_ELSE
•
Component values of a structured value constructor
•
Index expressions in an indexed constant
•
Expressions in a set constructor
Treatment: Random order.
Order of selecting members of the set value in the FOR IN statement
Treatment: Random order.
Whether the first character read when reading an integer or real from a text
file is the value of the buffer variable or the value of the next character
from the input record
Treatment: HP Pascal uses the next character in the input record and
ignores the contents of the file buffer.
Order of evaluating, and accessing of actual parameters of a function call
Treatment: Random order.
Order of evaluating, and accessing of actual parameters of a procedure call
Treatment: Random order.
Order of accessing the variable and evaluating the expression in an assignment
statement
Treatment: Random order.
The effect of reading a text file for which the PAGE procedure was called
Treatment: Reads a line containing only the form-feed character (ASCII
value 12).
Description of Implementation Features C–3