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, LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cc9d51d301f523ef X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-16 18:16:49 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!wesley.videotron.net!weber.videotron.net.POSTED!not-for-mail From: "Eric Robert" Newsgroups: comp.lang.ada References: <3DFB9067.2040600@acm.org> <0dRK9.37601$xH3.400905@weber.videotron.net> Subject: Re: Newbee question X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <3OvL9.17775$C32.271828@weber.videotron.net> Date: Sun, 15 Dec 2002 19:47:39 -0500 NNTP-Posting-Host: 66.130.67.5 X-Complaints-To: abuse@videotron.ca X-Trace: weber.videotron.net 1040091391 66.130.67.5 (Mon, 16 Dec 2002 21:16:31 EST) NNTP-Posting-Date: Mon, 16 Dec 2002 21:16:31 EST Xref: archiver1.google.com comp.lang.ada:31934 Date: 2002-12-15T19:47:39-05:00 List-Id: Haha...! I new this would bring more attention to my thread ;-) Sorry to have offended you guys... Ah, I know quite a few language now : Ada. I won't criticise it - this first time was mostly to get the attention. I don't really like it but there are things that are nice. The langugage you choose is from the scale of the problem you want to solve and how much abstraction you need. Anyways, Ada is not for me... I might be too old now. You now... "Eric Robert" wrote in message news:0dRK9.37601$xH3.400905@weber.videotron.net... > Well, yes and no. I am not a student anymore and I know quite a few > languages. But not ADA even if I hear of it when I was a student at the > University. But one student came to me and ask me to do a little thing in > ADA. So, I read the Lovelace tutorial from the start to the end and still, I > wasn't quite able to do anything usefull. > > I must say that, being a senior C++ programmer, ADA seems to me like a > language that isn't very usefull & efficient. Sorry to say but it seems like > a languages for dummies! I when to the library to get a book and now I can > do usefull stuff. The web is not crowded with ADA samples & resources so I > needed a book! I can't belive this... The community is much smaller than > what I'm used to (C and C++). But still : it was worth to learn. It maybe > good for learning and research (i.e. when you're NOT a experienced > programmmer) but not for real life usage when CPU & ressources are critical. > Sorry but learning it doesn't make me a believer ;-) > > Thanks anyways! > > "Jeffrey Carter" wrote in message > news:3DFB9067.2040600@acm.org... > > Eric Robert wrote: > > > > > > I'm new to Ada (2nd day almost) and I'm trying to save an array of > record in > > > a file. So far so goood. I save an integer first to know how many items > they > > > are in the array. But how can I possibly read it back? I don't know the > size > > > of the array yet. It seems to me that I need to use unconstrained > arrays. If > > > so, I can't get the syntax right or a proper example explaining how to > > > enlarge the array... > > > > So, is this a homework problem? > > > > You might want to look at block statements. You can declare an array > > variable in a block statement using values determined at run time. > > > > -- > > Jeff Carter > > "Why don't you bore a hole in yourself and let the sap run out?" > > Horse Feathers > > > >