hello list members,

could anyone of you give me a hint how to assign a value to an untyped
variable parameter of a procedure. E.G. in the following procedure:

procedure test(var value);
var r : real;
begin
  r := 1.0;
  value := real;        // does not work
end;

which type to be used for a type cast (that is not allowed for the left
side) or how to use an address operator to manage it?

any help would be welcome
gerhard

-------------------------------
Gerhard Zintel
Faurecia Abgastechnik GmbH
Abt.: EGA
Tel.: +49 911 7610171
Fax.: +49 911 7610350
e-mail: GZintel-AT-Stadeln.Faurecia.com

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

Reply via email to