1,899 Topics

Member Avatar for
Member Avatar for Latent

Hello, I know I am new to the Board but I need help. I have these programes to designand I need to know how to code in them in Pascal. All I ask, if it is possible, is for a sample answer if it is possible. I am not that …

Member Avatar for jwenting
0
158
Member Avatar for h2odog

We are using TMT Pascal 5.01 and have been experiencing input console problems with components of a particular piece of software. Requests for help from [email]support@tmt.com[/email] have gone unanswered. Keyboard strokes do not echo to the screen nor terminate (carriage return) properly – seemingly locking up the computer, necessitating a …

0
63
Member Avatar for WarKirby

Using Borland Pascal- Making a program to read in names and sales figures from text file and then (amongst other things) find the average of the sales and compare all the sales figures to the average. The problem is, only the last entry in the text file comes out for …

Member Avatar for Lord Soth
0
78
Member Avatar for PCHelp

I found example how get process exe path: uses PsAPI, TlHelp32; // portions by Project Jedi [url]www.delphi-jedi.org/[/url] const RsSystemIdleProcess = 'System Idle Process'; RsSystemProcess = 'System Process'; function IsWinXP: Boolean; begin Result := (Win32Platform = VER_PLATFORM_WIN32_NT) and (Win32MajorVersion = 5) and (Win32MinorVersion = 1); end; function IsWin2k: Boolean; begin Result …

Member Avatar for Lord Soth
0
477
Member Avatar for rcwally

I have the worst time deciding on VAR statements. I am trying to write a program to establish a "bounciness" index equal to the original height divided by the bounce height of a ball. I get the basics of the FOR looping, but my VAR statements just don't make sense, …

Member Avatar for muhanena
0
239
Member Avatar for sportsnut941

It keeps failing at the else statement? program AreaofRectangleOrTriangle; uses WinCrt; var Base, Height, Area, CharUserInput: Char; Begin (*Enter R or T*); Writeln('Enter R for Rectangle or T for Triangle'); Readln(CharUserInput); (*Enter Base and Height*); Writeln('Enter Base '); Readln(Base); Writeln('Enter Height '); Readln(Height); (*Give case statement and formulas*); if (CharUserInput …

Member Avatar for Rashakil Fol
0
33
Member Avatar for elfman

Hello, I try to use dual monitor system in my Pascal (Free Pascal exactly) programs. I'm able to use the system, where there is VGA card as primary and the Hercules as secondary graphic card (it starts in text mode, so I can write to the $b000 immediately and it …

0
93
Member Avatar for rcwally

Please help me with the End on this problem. I just can't seem to finish it off properly. I keep getting a parse error on the last End. program ValueParameters (input,output); {Author: Cheryl Wahlheim Class: CS241XP Assignment: User Income and Tax Rate procedure} Var income, taxrate, totaltaxdue : real; response …

Member Avatar for mrmike
0
217
Member Avatar for peachy

I am trying to finish (start) an assignment and I can't get passes what should be a simle parse error. It shows up on the case line of the information function. I have to get rid of it to continue on... and I have tons more to do... Any one …

Member Avatar for rcwally
0
257
Member Avatar for Stoney

There is a problem my professor assigned. It's not suppose to be complicated but I can't grasp the concept. I can grasp it in the english language but if I turn it into Pascal, I have no idea what to do. Here's the problem and what I have created in …

Member Avatar for Stoney
0
119
Member Avatar for Katrix36

Hi all, I'm making a on-screen keyboard, for a group of disabled students. I've managed to complete the keyboard but i'm wanting to have an option to set the level of transparentcy. At the moment the alphablend value (the level at which the form is transparent) is set to 150. …

Member Avatar for pty
0
181
Member Avatar for sui-jin

hello im trying to create a similar to snake game in TMT pascal lite and whenever i have the snake constintly moving but then want to user to enter the direction he wants the snake i cant figure out how to stop the program from pausing while reading the key …

0
50
Member Avatar for Katrix36

Hey all, I've built a database in delphi to store all the films that I own. I've added the ability to print the list out. At the moment when I print the list out it prints the list right up to the edge of the page. The list of films …

0
106
Member Avatar for Katrix36

Hey, I'm trying to create a on-screen keyboard for a group of disabled students at a school. So far i've managed to create the program to type out each letter/number that the user clicks on. This is fine, but I have to state the name of the active window that …

Member Avatar for Katrix36
0
264
Member Avatar for kennethf

I'm coming across a screwy problem that's really bugging me. (No pun intended.) I'm working in Delphi 5. I need to host a couple of forms on a panel. I don't want the forms to display outside of this panel, so naturally I assigned the panel as each form's parent. …

Member Avatar for jwenting
0
195
Member Avatar for jwenting

I'll be visiting the Delphi 2006 launch in the Netherlands on the 29th. First time to meet DavidI and other dignitaries in several years.

Member Avatar for jwenting
0
211
Member Avatar for ktulu

Hi guys, maybe this is easy question for u, but for me its hard one... i wanna make program which will draw a n-angle. for.example...to edit i will put value 10 and i wanna to draw to image an 10angle... i think this have to be done by sin,cos,tan? but …

0
134
Member Avatar for Starlette

can anybody help me !! I have been trying to use OO to write the snake game. But im soooo lost. Does anyone have any source code they could share with me? :lol:

Member Avatar for joe_perry
0
95
Member Avatar for johnpaul

I'm writing a calculator program that receives a string and returns the result (everything in console mode), using Delphi 6. I use a FOR to advance and evaluate the sub-expressions, but the compiler leaves the FOR without reason (I mean that Delphi does not give me any warnings or errors, …

Member Avatar for pty
0
196
Member Avatar for satrix36

Hi all, I'm needing some help on a program that Im making. When the program opens, I need it to detect whether or not a ftp server is online. I need the program to tell the user if the server is off line. Can someone please help me.

Member Avatar for pty
0
117
Member Avatar for SilentGuy

I am trying to make what I thought was a simple game. Here's what it is the user inputs a number and the computer tries to guess the number. This is done by means of less or more using the inputbox. function. This is what I have so far:- procedure …

Member Avatar for pty
0
158
Member Avatar for luCKTOny

I placed an ActiveForm of mine into a HTML page. The ActiveForm have an event to receive Windows message,but it doesn't work in the HTML page. WHY? TKS!

0
65
Member Avatar for spargelsuppe

Hi there, I need help :o ... I have to solve the following task, a person buys goods and everytime the person receives change. The aim is that the person has as few as possible coins in its wallet. The person has an unlimited value of one dollar coins. And …

Member Avatar for pty
0
104
Member Avatar for mrsmole

Im new to Pascal and have to write a program to calculate coinage given as change, ie 1 x20p . I just haven't got a clue how to get Pascal to calculate the coins. Please help ! Im lost :rolleyes: :sad:

Member Avatar for mrsmole
0
300
Member Avatar for chris_anthony23

i am new to the whole pascal programming thing and i was going through this book and came across what seems to be a challengin problem for me at present Could u plz help me out? Here is the problem: Angles are often measured in degrees, minutes and seconds. There …

Member Avatar for mrsmole
0
73
Member Avatar for antypanty

Hey, I've been studying pascal for a while now but still havn't yet learnt how to put a simple line on my console. The code I have is: program test; uses graph; begin line(0,0,10,10); readln; end. When executed just flashes on then off quickly. Thanks :cool:

Member Avatar for abdullah
0
109
Member Avatar for mpx10

hi i need some help with doing screen dumps or print screens in turbo pascal. when i press the print screen button whilst my program is running and then go and paste it in word, powerpoint or paint, all that pastes is the text and boxes i have created but …

Member Avatar for abdullah
0
324
Member Avatar for mmouse

Hi All, I am reading a textfile and ready to import into an access database. The issue that has just arisen of hidden characters in line of text. The file is sent to us by a third party. e.g. Problem_Details: all the objects were all very soft and were split …

Member Avatar for abdullah
0
111
Member Avatar for satrix36

Hi all. I am currently making a program to help a friend with organizing her pictures on her pc. On the program I am needing 2 box that will display 2 different directories on the computer. I can do that using 2 TShellViewList components. How can I enabled the TShellViewLists …

0
72
Member Avatar for satrix36

Hi, I've been asked to created a program for my local video rental shop, that can store the details of the members, videos, dvds etc. On the for were the user adds a member, I am wanting some code that will generate the membership number automaticaly in a edit box. …

Member Avatar for satrix36
0
148

The End.