Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: levi@localhost.nc3a.nato.int
Subject: posible bug question...
Date: 22 May 2000, 11:15:20
Frank Heckenbach a écrit : > This would mean that the loop variable could practically not be used > outside of the for loop. If this is really true, I'd really favour a > syntax that makes this clear (like `for i : Integer = 1 to 10 do ...'), > so i has only the corresponding scope. In fact this very syntax was used in one of the intermediate Wirth languages between algol and pascal (we used at Grenoble an algolW compiler implementing it at that time). It was done so exactly to forbid any use of the for control variable outside of the loop, because in many CPU for control variables are maintained in registers (CX in 16 bit 386 CPU for example) and need not at any time to be affected into memory (at least the for control variable of the innermost loop). So a good idea was lost in going into EP. But who may update the standard ? Maurice
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
| Author | Subject | Date |
|---|---|---|
| Frank Heckenbach | posible bug question... | 21 May 2000, 22:01:03 |
Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.
Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.
This page was created by Crystal 0.999 (Linux 2.4.27/i686).