Solved

Compiled Program Not Working

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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
Pascal code for reading registry 1 361
ShowMessage(listview1.itemappearance.Header.text, Item.text) 9 1,691
audio record to file 4 1,130
proper way to parse text with delphi 7 160
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

749 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