Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!usc!bbn!ginosko!uunet!mcvax!kth!sunic!dkuug!freja!rimfaxe!dat0 From: dat0@rimfaxe.diku.dk (Dat-0 undervisningsassistent) Newsgroups: comp.lang.pascal Subject: Re: Turbo and Standard Pascal Message-ID: <4822@freja.diku.dk> Date: 6 Jul 89 13:42:02 GMT References: <20172@adm.BRL.MIL> Sender: news@freja.diku.dk Lines: 33 texbell!utafll!john@cs.utexas.edu (John Baima) writes: >Turbo Pascal does (as of version 5.0) allow Procedures as parameters. >They have implemented a Procedure type which I believe goes beyond >"stansard" pascal. With the @ operator in version 4.0, it was easy to >pass procedures as parameters anyway. Right, you can do it, but you still can't do it the standard way. ("Oh there he goes again"). Can anyone tell me, why it wasn't implemented in such a way as to let standard programs compile without any trouble. It can't be that hard to do. >One of the advantages of Borland's nonstandard Read/Write vs. Get/Put >is the ability to read or write any enumerated type. This is most >useful when one or more variables in a record are enumerated types. As >I remember "standard" Pascal in my distant past, one had to convert >an enumerated type to an ordinal type (often a byte or integer) and >then get/put that. That limitation is a real bother when using >records. This on the other hand is not correct unless you are trying to write record on text file. Kristian Damm Jensen (dat0@diku.dk) Institute of datalogi, University of Copenhagen (DIKU) Universitetsparken 1, DK-2100 Copenhagen \, Denmark Kristian Damm Jensen (dat0@diku.dk) Institute of datalogi, University of Copenhagen (DIKU)