Path: news.cs.au.dk!news.net.uni-c.dk!uninett.no!news.algonet.se!algonet!feed01.nntp.se.dataphone.net!nntp.se.dataphone.net!newsfeedZ.netscum.dQ!netscum.int!skynet.be!poster!not-for-mail From: Atle Newsgroups: comp.lang.beta Subject: Re: More newbie questions ... Date: Tue, 30 May 2000 13:41:12 -0100 Organization: Belgacom Skynet SA/NV Lines: 35 Message-ID: <3933D308.6DFBD114@skynet.be> References: <20000530105522.17371.qmail@noatun.mjolner.dk> NNTP-Posting-Host: dialup290.charleroi.skynet.be Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news1.skynet.be 959686692 24127 194.78.236.162 (30 May 2000 11:38:12 GMT) X-Complaints-To: abuse@skynet.be NNTP-Posting-Date: 30 May 2000 11:38:12 GMT X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i686) X-Accept-Language: en Xref: news.cs.au.dk comp.lang.beta:12363 Arne Hueggenberg wrote: > loops are not part of the language, but there are > some convenience patterns implementing loops in the libraries. I did RTFM :-) In the beginning, I didn't know exactly where the real documentation was, but now I've found it. To jump-start me here, could you give me a couple of examples? (please?) I will express in a sort of 'pseudocode' what I want to do: myList ml = ["atle", "beta", "compiler", "debug", "error", "free", "group" ] foreach X in ml do print X endforeach for i := 1 to ml.length do print ml[i] ; subscripting endfor and one like this: struct s { char name[25]; char addr[25]; char tlf[25]; }; struct s ss; print ss; That would help a lot! Thanks, Atle