Path: utzoo!attcan!uunet!bu.edu!bucsf!cao From: cao@bucsf.BU.EDU (chan cao) Newsgroups: comp.lang.pascal Subject: pascal-2 bugs ? Message-ID: <65252@bu.edu.bu.edu> Date: 30 Sep 90 08:51:11 GMT Sender: news@bu.edu.bu.edu Reply-To: cao@bucsf.UUCP (chan cao) Distribution: comp.lang.pascal Organization: Boston University Computer Science Department Lines: 24 hi, I'm curious why the following program always give me error at the end. Even if i have a period after end, that doesn't solve the problem. i used pascal compiler called pascal-2 in unix. thanks for any suggestions. program test (input,output); var i,j,k:integer; begin for i:=1 to 200 do writeln ('something'); end.bucsf% bucsf% pc pas.p -main -berkeley Pascal-2 4.00 (r0) Encore UMAX4.2 30-Sep-90 4:44 AM Page 1-1 pas.p 7 end ^9 *** 9: Use '.' after main program body *** There was 1 line with errors detected *** ?Errors detected: 1