Compiled Program Not Working

(Turbo Pascal) I program that I wrote in Pascal will not give the correct answer after it is compiled. When I step through the program or run it from the compiler window it works fine, but not after it is compiled.
DBatesAsked:
Who is Participating?
 
omsecConnect With a Mentor Commented:
There is a bit less information to help. Please try to tell me, which units are loaded and what should the program do. You wrote it's programmed in Turbo Pascal, so i think it runs in real mode, not in protected mode. How did ya compile it ? Check ALL options from the compiler in the IDE and the command line compiler TPC.EXE or TPCX.EXE if you use them too.

You may eMail me when you got more information : omsec@usa.net

C-Ya, Omsec
0
 
mesCommented:
Can you post the source here or is it too big?
0
 
mwdejagerCommented:
Post me the source, I'll most probably be able to sort it out!
0
 
mccranieCommented:
Most likely your program contains a bug.  An unitialized variable can cause this behavior.  Also, try running it with R+,Q+,S+ and see if that flushes out a bug.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.