Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site nmtvax.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!whuxl!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!hao!seismo!cmcl2!lanl!unmvax!unm-cvax!nmtvax!djm From: djm@nmtvax.UUCP Newsgroups: net.micro,net.micro.pc Subject: Turbo Pascal Message-ID: <248@nmtvax.UUCP> Date: Wed, 30-Jan-85 18:10:24 EST Article-I.D.: nmtvax.248 Posted: Wed Jan 30 18:10:24 1985 Date-Received: Wed, 6-Feb-85 03:34:54 EST Reply-To: djm@nmtvax.UUCP (Dieter Muller) Organization: New Mexico Tech, Socorro Lines: 28 Keywords: Bugs, semi-colon, I/O buffering Xref: watmath net.micro:9265 net.micro.pc:3274 Summary: TURBO PASCAL BUGS I have found a couple of bugs in Turbo Pascal on an IBM PC-clone running MS-DOS. I define these as bugs, since the same code works on the campus DEC-20 (not a good standard, I know, but it's what I have to work with). The copy of Turbo is roughly 6-7 months old, so these things may have been fixed by now. 1) If a ';' is incorrectly places before a keyword, the compiler will not complain. However, when that section of code is executed, a memory error is generated and a system halt is performed. This requires a re-boot. Example : if condition then begin statement1; statement2; end; <-- explodes here when run another_statement; 2) If you read from the console a character at a time, each character must be separated by a carriage return. I am under the impression that either a) data is buffered one line at a time, or b) data would be physically read one character at a time. (My Pascal references aren't handily available as to which is standard, but C/R between each sounds silly to me). Dieter Muller {lanl|unmvax}!nmtvax!djm