Solved

Compiled Program Not Working

Posted on 1997-11-17
4
174 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Tstream to hex 1 1,730
Embedded MySQL not working when installed in a folder with a dot 4 313
TEdit.SetFocus trouble 3 172
Object was open using ADO and Delphi 2007 33 230
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

860 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