1,899 Topics

Member Avatar for
Member Avatar for AhmedHan

I'm using GNU Pascal. For my homework (due to next Friday) I have to learn how to set up the cursor position, and how to change text and background colour. And how can I learn more about such commands?

Member Avatar for AhmedHan
0
190
Member Avatar for peachy

Can anyone tell me the format for reading information into a program and if I want to save information out of the prgram into a txt file. I understand it to be Assign (file name, path) reset (filename) close (file name) and to write information out assign (filename, path); rewrite(filename, …

Member Avatar for peachy
0
164
Member Avatar for peachy

When I copied my program from Dev-Pascal to the new window in Delphi I got this error: Project ParkingCharges.exe encountered unhandled exception class Borland.Delphi.EInvalidInput with mesage 'Invalid Numeric Input'. These are the options in the error box: ignore this excetion type inspect exception Object Show CPU View These are the …

0
171
Member Avatar for mesmo

Hey people! Ive had to right a simulation to the game buzz-fizz..this is what the game is... One person starts of by calling out '1' then each player adds one to the previous players number and calls out that number unless it divides excatly by three or five.. If it …

Member Avatar for Daaave
0
193
Member Avatar for peachy

I am trying to complete an assignment and i am stuck with the same error 3 times. [Error] Project1.dpr(38): E2015 Operator not applicable to this operand type This is my segment of code: FUNCTION convert (hours:real; minutes:real) : real; BEGIN IF minutes MOD 60.0 <> 0.0 THEN hours := (minutes …

Member Avatar for peachy
0
173
Member Avatar for beginprog

hi im purely a beginner and im trying to write a program that will allow us to see graphically the number of people of every diferent age range in a given community then it should show the results graphically. i have done mostly all of the code and i just …

Member Avatar for Daaave
0
198
Member Avatar for techied
Member Avatar for test

Hi, I need someone to help me create a program which will simulate the rolling of a die, counting how many of each die faces appear on the screen. This program should also explore the use of arrays. Would appreitiate help greatly. thank you, Test

Member Avatar for test
0
168
Member Avatar for adam_grazer

I am currently working on a program using the Delphi language and one of the requirements is to simulate what happens when you return from a sleep or blank screen. In other words, the interrupt you get from a key press on the keyobard or a movement of the mouse, …

0
102
Member Avatar for mpx10

im still struggling to print an invoice that i have made in pascal to a usb port printer. any help please. i have tried using various inbuilt function but have had no luck probably because im coding it wrong. thanks in advance

Member Avatar for Jackrabbit
0
375
Member Avatar for shmee

OK i have a project the is due soon and i am stuck.. i need to make a program the you enter you pin and it displase it as ****.. can some one help me. Email [email]Fuklife_1@hotmail.com[/email]..

Member Avatar for Jackrabbit
0
165
Member Avatar for mpx10

hello. i have made a database to calculate wages and other figures and this database includes an invoice page. i was wondering how to print out the invoice directly from pascal. im not too sure if there is a built in function that i need to use. any help is …

Member Avatar for jwenting
0
139
Member Avatar for mpx10

i have designed a database an one of my feilds is set up as an array. i had no problems reading my data into the array but i am having trouble trying to display the feild. when compiling the following error occurs. error 88 expected (. the error occurs in …

Member Avatar for mpx10
0
521
Member Avatar for mpx10

i have implemented a database system in turbo pascal 7.0 but i am having a little trouble and was wondering if anyone could help. i have made a master file which can hold various sub files. the subfiles can hold records which holds various feilds. i need to copy data …

0
93
Member Avatar for Ghost

Hi Everybody, I'm new at Pascal, and i was wondering if there was any way to use a timer (for example, time how long it takes the computer to do something). I'm using Turbo Pascal and borland's compiler, version 5.5. Thanks. Thanks again in advanced, C++

0
103
Member Avatar for Ghost

Hi Everybody, I'm new at Pascal, and i was wondering if there was any way to use a timer (for example, time how long it takes the computer to do something). Thanks. Thanks again in advanced, C++

Member Avatar for vegaseat
0
173
Member Avatar for vegaseat
Member Avatar for DeFrog777
0
256
Member Avatar for Me_Myself

Hi! First of all i know you don't help with homework to those that are not trying to solve it themselves but I REALLY TRIED...i am Embarrassed to say but I am trying to do this for few days already and my deadline for homework is getting close and I …

Member Avatar for kc0arf
0
127
Member Avatar for scox1

hello, I need some urgent help with pascal, im trying to write a program that accepts 10 integers from the keyboard and outputs the real average while using a loop. Im really struggling to get this to compile as im trying to learn this from a learn pascal website (which …

Member Avatar for techied
0
106
Member Avatar for Paramaribo

Hi, I don't want anyone to do my assignment for me, I just want some help. I'm a student in Suriname, formerly Dutch-Guiana. My teacher decided that we should learn how to write basic programs in Turbo Pascal to improve our "problemsolving skills" and for so far things have gone …

Member Avatar for Jackrabbit
0
129
Member Avatar for lodacy

I will appreciate any help on the following. Please reply to [email]lotbook@telus.net[/email] as well. I am trying to program something that use huge integer matrices, say 100x1500. I can do it in Unix pascal, but the Unix machines are slow. I also have borland pascal 7.0, but all I could …

Member Avatar for geoclock
0
193
Member Avatar for geoclock

I have been writing Delphi 1 programs for almost 10 years, and periodically get the above run time message. I have eliminated it on my machines, but other people still get it. I have no idea where it comes from, or what I am doing wrong. Obvously, I do not …

0
83
Member Avatar for bwork

I know this is probably basic stuff with an easy solution, but I can't seem to find it anywhere in my textbook. I am working with an array of records. The user enters the data for each field of the record. The first field is a string entered by the …

Member Avatar for Jackrabbit
0
110
Member Avatar for tux792

It has been many years since using the "$" for typing string variables and "%" for typing integer veriables and such. Now I have forgotten the rest! Does anyone remember the type casting symbols for "char", "double", etc? Example: ThisIsMyString$ or x$ or x% or BitBucket%, etc. I am programming …

Member Avatar for tux792
0
429
Member Avatar for nikkisboricua

i have to create a program for school. here is the question: pizza contains 355 calories per slice. jogging burns off 240 calories per hour. write a program to calculate how long, in hours and minutes, you would have to jog to burn off the pizza that you eat: this …

Member Avatar for Jackrabbit
0
154
Member Avatar for dirtyk

Hi I am quite a new programmer and I was just wondering if there's anyone out there who could help me... I need to write a procedure to input a decimal number via a suitable const parameter and output the hexadecimal equivalent to the console window... Now, I can do …

Member Avatar for Jackrabbit
0
745
Member Avatar for ahmedsamir

i can not do a multiblying table by pascal in this form 1 2 3 4 5 6 7 8 9 10 11 12 1 1 2 3 4 5 6 7 8 9 ........... 2 2 4 6............................ 3 .............................. 4 ................... 5 . 6 . 7 . 8 …

Member Avatar for Jackrabbit
0
334
Member Avatar for Holland

Can you search a string in Dev Pascal? In Basic [True] you can use: stringvar$[1:3] However, can you do this someway without having it in a Packed Array? If you CANNOT, then how can you convert an integer into a Packed Array so I can perform this function. Shane--

Member Avatar for Jackrabbit
0
101
Member Avatar for elfman

Hello, I was programming in Turbo Pascal for many years, accordingly in real mode. Now I tried to change and start develop aplications in Free Pascal, protected mode. However, many things that works in RM doesn't works in PM, indeed. I downloaded a lot of examples, but they didn't help …

Member Avatar for elfman
0
243
Member Avatar for overXposed

Hiya everyone, its nice to be on this site. I'm a newbie. Well, I have a hard time understanding the whole pascal thing for my class and find it hard to make programs. Could anyone please assist me with my school project. Its making a simple game program like--Music Jeopardy …

Member Avatar for yas_85
0
117

The End.