From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-17 03:40:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!msunews!not-for-mail From: "Chad R. Meiners" Newsgroups: comp.lang.ada Subject: Re: Ideas for Ada 200X "left hand side" repeater. Date: Tue, 17 Jun 2003 06:37:59 -0400 Organization: Michigan State University Message-ID: References: <3EE7CC70.E1FD3A67@adaworks.com> <3EECA772.4B662024@adaworks.com> NNTP-Posting-Host: arctic.cse.msu.edu X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: archiver1.google.com comp.lang.ada:39320 Date: 2003-06-17T06:37:59-04:00 List-Id: "Dmitry A. Kazakov" wrote in message news:bcminn$kof9m$1@ID-77047.news.dfncis.de... > Looks like a label. It could be: > > <> Screen.Buffer(i) := Pixel + 1; It was inspired by the label, but I definitely did not want to overload the label; hence, the []'s instead of <<>>'s > however, it gets a bit tricky: > > <> > Screen.Buffer(i) := Pixel + 1; > ... > Pixel := Pixel + 1; -- Illegal, Pixel is out of scope > ... > goto Pixel; -- OK Of course that could look like <> [Pixel] Screen.Buffer(i) := Pixel + 1; ... Pixel := Pixel + 1; -- Illegal, Pixel is out of scope ... goto Write_ith_Pixel; -- OK which appears to me to have a nice balance of verbosity and conciseness. -CRM