[fpc-pascal]how to assign a value to an untyped variable

ZINTEL Gerhard gzintel at stadeln.faurecia.com
Fri Jul 11 14:18:58 CEST 2003

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;
  r := 1.0;
  value := real;	// does not work

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 Zintel
Faurecia Abgastechnik GmbH
Abt.: EGA
Tel.: +49 911 7610171
Fax.: +49 911 7610350
e-mail: GZintel-AT-Stadeln.Faurecia.com

More information about the fpc-pascal mailing list