Pascal 'set' question

Is it possible to get all of the values from a set. For instance, say I had:

setA := [2..6];
setB := [21..32];
setC := setA + setB;

is there a way to get all of the values from setC? I am new to Pascal, so I apologize if my syntax is incorrect.

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories