[comp.sys.ibm.pc] Turbo Pascal --- Help Needed

dpb@genrad.UUCP (Dave P. Bernier) (12/09/86)

Help!! (what an interesting way to start an article :-) )

I am having a great deal of difficulty with my copy of Turbo Pascal.
When I type in any program at all, it gives me a "Run Time Error
Found" message. Even if the program looks like:

Program test(input, output);
Begin
	Writeln('hello)
End.

It says that the error was located in line 2, or whereever the next
line of code occurs. I have done nothing to the disk. I have tried the
disk in other system, and I get the same results. Is this problem with
my copy? if so, can it be fixed? How? Should I give up, and get
another copy? (this is a backup that is erroring, I just want to see
if I can fix it before copy it off the master.)


					Thanks,
						David Bernier


=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=
       Snail-Mail			      E-Mail
     David Bernier
   300 Baker Avenue			decvax!genrad!dpb
   Concord, MA 01742   			
     Mail Stop #26
=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=
I finally got it all together....Now I've forgotten where the hell I put it.
=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=

vanzandt@uiucdcsp.UUCP (12/11/86)

	If that is exactly what you typed in, you do indeed have an error.
Try:
	Program Test;
	Begin
		Writeln('Hello');
	End.

	3 things here:
		(1) Turbo Pascal does pay attention to the (input, output)
			specifier in the header (not Ver 2.0 anyway).
		(2) You forgot your end quote after Hello.
		(3) It might require the semi-colon after the writeln even
			though standard Pascal doesn't.

	Good Luck...