Deutsch   English   Français   Italiano  
<v8lt5r$3i5h9$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk>
Newsgroups: comp.os.vms
Subject: Re: Simple Pascal question
Date: Sat, 3 Aug 2024 14:33:31 -0400
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <v8lt5r$3i5h9$1@dont-email.me>
References: <v8goeh$2b5op$1@dont-email.me> <v8hn3m$3aviu$1@gwaiyur.mb-net.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 03 Aug 2024 20:33:31 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="126abb0228698cf4e6fac9d9f522dccc";
	logging-data="3741225"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/9i8xO6b6PHX/EAiLRzGTpzHtHoWg2YNM="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:RNJGfMNPl3q7FmnSJslCozLrenI=
In-Reply-To: <v8hn3m$3aviu$1@gwaiyur.mb-net.net>
Content-Language: en-US
Bytes: 1528

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