I have the following simple program:
program fooin; var s1, s2, s3 : integer; begin s1 := 1; s2 := 3; s3 := 5; if 10 in [s1, s2, s3] then writeln('OK') else writeln('not OK') end.
The code itself executes ok but at compilation gives this warning:
fooin.pas:8: warning: constructing limited integer set '0..255'
Does this mean I can compare a single ordinal (LHS) to a set with a maximum number of elements of 255 (RHS) ?
TNX Ken Linder http://kc7rad.lvcm.com/