Solved

Compiled Program Not Working

Posted on 1997-11-17
4
176 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi TDBX too many connection problem 2 1,177
Encryption of Passwords for Delphi Xe2 1 747
Embarcadero Interbase 9 784
Problems in integrating VCL & FireMonkey via a FM DLL 4 634
The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
Invest in your employees with these five simple steps to improve employee engagement and retention.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

737 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