Hello,

I wish to create something like this:

function foo(a : String; b : array of const) : string;
begin
  Result := bar([a] + b);
end;

But this works only on Sets.
The thing is, that A must be before the rest of "b". and it is different
then the b values, that's why I extract it to a different parameter.

How can I add a to the list, and make it the first element ?

Thanks,
Ido
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to