Sujet : Re: Simple Pascal question
De : arne (at) *nospam* vajhoej.dk (Arne Vajhøj)
Groupes : comp.os.vmsDate : 03. Aug 2024, 19:33:31
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v8lt5r$3i5h9$1@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 8/2/2024 12:25 AM, Uli Bellgardt wrote:
The value 1.5 should be an f_float value as well:
$ type zzz.pas
program z(input,output);
var
x : f_float;
begin
x := %f_float 1.5;
writeln(x);
end.
$ pas zzz
$ link zzz
$ run zzz
1.50000E+00
I would never have guessed.
Now that you have told me then it is of course easy to find
in the manual.
Columbus egg.
Thanks.
Arne