user331595 user331595 - 1 year ago 174
Pascal Question

Pascal Simple Types

In Standard Pascal what are considered simple types? Are these the only types that can be returned from a function?

ax. ax.
Answer Source

according to the spec, simple types are integer, real, Boolean, char, enumerated ((red, yellow, green, blue, tartan)), and subrange (1..100). also according to the spec, functions can return only simple-type-identifier or (|) pointer-type-identifier.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download