AW: [fpc-pascal]how to assign a value to an untyped variable
gzintel at stadeln.faurecia.com
Fri Jul 11 15:00:05 CEST 2003
> Hello all,
> Friday, July 11, 2003, 3:18:58 PM, you wrote:
> ZG> hello list members,
> ZG> which type to be used for a type cast (that is not
> allowed for the left
> ZG> side) or how to use an address operator to manage it?
> at least in my fpc 1.0.6 typecasts for the left side are allowed,
> value := r; // error
> real(value) := r; // works ! ;-)
In the (at least my) reference guide in chapter "6.4 Value typecasts"
(version 1.8) there is written:
"Value typecasts cannot be used on the left side of assignments, as variable
doesn't it mean that the above is not allowed or do I miss something?
More information about the fpc-pascal