Yes, of course.
Well, at least there is such a utility. If that was the biggest problem with Command.Com, it would be great... :-(
Just wondering - what's the difference between "Const" and "Protected" parameters? Are they only handled differently internally in the compiler, or is there any semantic difference?
Another set problem is the following:
PROGRAM x;
TYPE IByte=__byte__ Integer; Byte=__unsigned__ IByte; TS=SET OF Byte;
PROCEDURE p(s:TS); VAR k:Integer; BEGIN FOR k:=0 TO $FF DO IF k IN s THEN Write(k) END;
BEGIN p([]) END.
Again, more or less random values. It's probably another instance of the problem with initialized set variables - I just wanted to mention it.
But after I could work around this, too, now my program compiles and runs with gpc for the first time! :-) And a whole lot faster than compiled with BP! :-)
Frank