Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!uvaarpa!hudson!hd7q From: hd7q@hudson.acc.virginia.edu (das himadri) Newsgroups: comp.lang.pascal Subject: Pascal compilers for MS DOS systems Message-ID: <1723@hudson.acc.virginia.edu> Date: 10 Jul 89 17:10:21 GMT Reply-To: hd7q@hudson.acc.Virginia.EDU (das himadri) Organization: University of Virginia, Charlottesville Lines: 30 I am trying to port Pascal code which compiles with a standard Pascal compiler on a Prime 9955 machine to a PC running MS DOS. The code is fairly big, about 300 kbytes and involves procedures using other procedures as parameters. I tried Turbo Pascal 5.0 for which the code had to be broken up into units of less than 64 kbytes. I am having problems while trying to use in one unit a procedure available in another unit when calling this procedure involves passing a complex data type between the two procedures. To elaborate a bit further, there is no problem if a character or integer or real is being passed between two units but if a string or a pointer to a record or an array of pointers to records needs to be passed between the two units then it doesn't work but gives a type mismatch error during compilation. This type mismatch refers to the complex data structure that needs to be passed between the two units even though they have been declared in both units. Has anybody had similar problems when dealing with large code in Turbo Pascal? Is there a way around this? How about other Pascal compilers for MS DOS systems which are closer to standard Pascal and can handle the 64 Kbyte limit as well as allow procedures to take other procedures as parameters? Any information regarding other Pascal compilers and their availability would be greatly appreciated. Would also welcome suggestions about how to use Turbo Pascal for what I trying to do. Thanks! -- ***************************************************************************** * Himadri Das * Life is so Beautiful! * * hd7q@virginia.edu * Ain't it? * *****************************************************************************