Path: utzoo!attcan!uunet!fernwood!apple!uokmax!munnari.oz.au!samsung!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!dkuug!freja.diku.dk!rimfaxe.diku.dk!dat0 From: dat0@rimfaxe.diku.dk (Dat-0 undervisningsassistent) Newsgroups: comp.lang.pascal Subject: Re: Is there any ISO PASCAL other than level 0 ? Message-ID: <1990Oct30.082911.23422@diku.dk> Date: 30 Oct 90 08:29:11 GMT References: <24878@adm.BRL.MIL> Sender: news@diku.dk (The Netnews System) Organization: Department Of Computer Science, University Of Copenhagen Lines: 25 PROLO%SBU.UFRGS.ANRS.BR@uicvm.uic.edu writes: > I am trying to get in hands the standard ISO IS 7185 for PASCAL. For >the moment I have read many times about the so called "level 0" and got a >question on whether is there another level. IS there such ?? And if so, what >are the differences between level 0 and the others ?? Yes. There are two levels of standard-Pascal - level 0 and level 1. They differ in one thing only: level 1 implements conformant array parameters, ie. the possibility for a procedure to take arrays of different sizes as parameters. A procedure-heading using conformant arrays might look like this: procedure multiply (var A : array[LoARo..HiARo : Positive; LoACo..HiACo : Positive] : of integer; var B : array[LoBRo..HiBRo : Positive; LoBCo..HiBCo : Positive] : of integer; var C : array[LoCRo..HiCRo : Positive; LoCCo..HiCCo : Positive] : of integer); As you see, this makes it possible to make a general procedure for matrix-multiplication. Kristian Damm Jensen (dat0@diku.dk) Institute of datalogi, University of Copenhagen (DIKU) Universitetsparken 1, DK-2100 Copenhagen \, Denmark