> 
> Why would a function definition like this:
> 
> Function Test(value : set of foo) : string;
> 
> cause the compiler to pitch an invalid type error?  The set is defined
> correctly.

You can't use composed types (string[xx], procedure types, sets etc) like this.

That is standard Pascal syntax, not the Borland derived syntaxes that FPC uses.

Use

type valuetype: set of foo;

function Test(value:valuetype):string;

_______________________________________________
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to