


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



field_name OF record_name_1 OF ... OF record_name_n
A pointer type is a type in which the range of values consists of memory addresses and a special value, nil (or null)
x : real; blurb.tagg := true; { it is an integer } blurb.blint := 47; { ok } blurb.tagg := false; { it is a real } x := blurb.blreal; { assigns an integer to a real }
b. The tag is optional!
b. It is impossible for the user to create an inconsistent union (because tag cannot be assigned by itself)
Arithmetic expressions consist of operators, operands, parentheses, and function calls