Deutsch   English   Français   Italiano  
<f316a31a05dc9639df789fd0c2c97ce07c71446c@i2pn2.org>

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

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.quux.org!news.nk.ca!rocksolid2!i2pn2.org!.POSTED!not-for-mail
From: John Reagan <johnrreagan@earthlink.net>
Newsgroups: comp.os.vms
Subject: Re: Fun trick
Date: Mon, 13 Jan 2025 21:08:11 -0500
Organization: i2pn2 (i2pn.org)
Message-ID: <f316a31a05dc9639df789fd0c2c97ce07c71446c@i2pn2.org>
References: <vlkm45$2fe4n$1@dont-email.me>
 <3e4166d654be19fea5da4abf1eca5fd593cc0ac2@i2pn2.org>
 <vlmk3d$2u2t1$1@dont-email.me>
 <6c113c2743a5d770b4641d92d1f40956deda07c9@i2pn2.org>
 <677ef06b$0$707$14726298@news.sunsite.dk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 14 Jan 2025 02:08:11 -0000 (UTC)
Injection-Info: i2pn2.org;
	logging-data="3496715"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="85Cwws6+ypgQVu4foqgE6eSuYb0IIJZq6Fz6j0v4a/s";
User-Agent: Mozilla Thunderbird
Content-Language: en-US
X-Spam-Checker-Version: SpamAssassin 4.0.0
In-Reply-To: <677ef06b$0$707$14726298@news.sunsite.dk>
Bytes: 1799
Lines: 16

On 1/8/2025 4:38 PM, Arne Vajhøj wrote:
> On 1/8/2025 3:42 PM, John Reagan wrote:
>> And the compiler also supports the Extended Pascal TO BEGIN DO and TO 
>> END DO statements.  TO BEGIN DO is just the same as [INITIALIZE] but 
>> allows any statement.  TO END DO is an exit handler (registered with 
>> an initialization routine).
> 
> The compiler tell me that those two are only valid in modules
> not in programs.
> 
> They are probably most useful for modules, but why not allow
> them for programs?
> 
> Arne
> 
Good question.  Extended Pascal says only MODULEs so we just didn't 
think about allowing them in PROGRAMs even though we allow [INITIALIZE].