Solved

Compiled Program Not Working

Posted on 1997-11-17
4
171 Views
Last Modified: 2010-04-16
(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.
0
Comment
Question by:DBates
4 Comments
 

Expert Comment

by:mes
ID: 1216808
Can you post the source here or is it too big?
0
 

Expert Comment

by:mwdejager
ID: 1216809
Post me the source, I'll most probably be able to sort it out!
0
 
LVL 2

Accepted Solution

by:
omsec earned 100 total points
ID: 1216810
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
 

Expert Comment

by:mccranie
ID: 1216811
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many Password Managers (PM) out there to choose from. PM's can help with your password habits and routines, but they should not be a crutch you rely on too heavily. I also have an article for company/enterprise PM's.
When we talk about DevOps toolchains, I sometimes wonder how many people really get what we’re talking about. I don’t know if it’s just semantics or tone or something else, but sometimes I think it just sounds like buzzword sausage. So it’s always …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now