1,899 Topics
| |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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. … | |
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. | |
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 … | |
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: | |
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, … | |
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. | |
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 … | |
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! | |
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 … | |
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: | |
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 … | |
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: | |
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 … | |
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 … | |
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 … | |
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. … |
The End.