Article View: comp.lang.pascal.borland
Article #463Re: printing an array to screen
From: Michael Weber
Date: Sun, 13 Sep 1998 00:00
Date: Sun, 13 Sep 1998 00:00
23 lines
1672 bytes
1672 bytes
Hi Osmo, > >I have one problem with the ' Odd ' , > >I belive it to be 'non-standard' PASCAL - and that isn't legal for me to > >use, > >please tell me whether my assumption is correct . > > It is not non-standard. Also is there some rule that one can only use > "standard" features? I do not see what is the point when one teaches not > to utilize the tools fully. Yes there is a rule, because PASCAL was designed as a teaching language, thats why we use it : the goal is that if we only use standard PASCAL, we will have the ability to program in any other language, by just learning the syntax. If You only program in PASCAL, then thats another issue :-) so I will use : IF input MOD 2 = 1 THEN element[n] := 1; instead of : IF ODD (input) THEN element[n] := 1; Mike
Technical Details
Message-ID:
<35FBB053.E4968D1B@inode.at>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35F95A97.FA83092A@inode.at> <35F9B90A.348B6EC4@eunet.at> <DTAc$LA5Th+1YwVo@pedt.demon.co.uk> <35FA8796.9FD37034@inode.at> <6tg3kf$mav@kruuna.Helsinki.FI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10261c,5e3ca8698b436352 X-Google-Attributes: gid10261c,public X-Google-Thread: 111659,5e3ca8698b436352 X-Google-Attributes: gid111659,public X-Google-Thread: 108ebd,5e3ca8698b436352 X-Google-Attributes: gid108ebd,public From: Michael Weber <mikew@inode.at> Subject: Re: printing an array to screen Date: 1998/09/13 Message-ID: <35FBB053.E4968D1B@inode.at> X-Deja-AN: 390663774 Content-Transfer-Encoding: 7bit References: <35F95A97.FA83092A@inode.at> <35F9B90A.348B6EC4@eunet.at> <DTAc$LA5Th+1YwVo@pedt.demon.co.uk> <35FA8796.9FD37034@inode.at> <6tg3kf$mav@kruuna.Helsinki.FI> To: Osmo Ronkanen <ronkanen@cc.helsinki.fi> Content-Type: text/plain; charset=us-ascii Organization: inode Internet Mime-Version: 1.0 Newsgroups: comp.lang.pascal.borland,comp.lang.pascal.misc,borland.public.turbopascal