AllExperts > Experts 
Search      

Pascal

Volunteer
Answers to thousands of questions
 Home · More Questions · Question Library  · Free Encyclopedia ·
More Pascal Answers
Question Library

Ask a question about Pascal
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
   

You are here:  Experts > Computing/Technology > Pascal > Pascal

SubjectDate AskedExpert

Turbo Pascal - Quiz program8/11/2007Francis Kong
  Q: I'm trying to write a Turbo Pascal program that will serve as a way for me to quiz myself in various ...
  A: Assuming you know the number of lines in the file (by using readln repeatly till end of file and ...
division by zero problem6/23/2007Francis Kong
  Q: i have a problem with my borland pascal ,a division by zero problam,i want to know that what is the ...
  A: if you look for a "patch" on "Turbo Pascal" for machines of 200 MHz or faster(specifically "Turbo ...
TPU files !?5/3/2007Francis Kong
  Q: I don't know why but I can't create TPU files. The units are perfect, I've compiled them millions ...
  A: Sorry for the late reply. Here is a checklist: 1) make sure you are using turbo pascal, Free pascal ...
How to get 50 lines using the "intr" ommand?3/19/2007Francis Kong
  Q: For Windows 98/XP DOS: In the regular 40/80 column textmode: How do I get 50 lines instead of 25 ...
  A: it should be noted that using CRT textmode is a better way of getting to 50 lines or 25 lines. (if ...
Convert from TPU to PAS12/19/2006Francis Kong
  Q: can we convet a file of extn TPU to a file of Extn PAS? or can we convert TPU files to a readable ...
  A: The simple answer is No. During the compile process the debugging information (variable names, ...
question12/1/2006Francis Kong
  Q: please help to build a simple paint program with pascal thank you bye
  A: I would suggest you to look up things in graph unit (DOS) if you are comfortable in working in ...
programme files in turbo pascal9/18/2006Francis Kong
  Q: How can i create files in turbo pascal and how can i paste the files in microsoft word
  A: by "microsoft word" I would then suppose you mean "text files" then use the following to declare a ...
error in use unit in turbo pascal9/2/2006Francis Kong
  Q: I am learning turbo pascal 7 of book of b. elliot koffman, in chapter 9 of his book that is about ...
  A: first of all, if you can, please rename all the folders into the traditional 8.3 format (filename of ...
pascal language8/19/2006Francis Kong
  Q: what the the disadvantages of pascal language
  A: With this question I would suppose you'll start with some 'norm' of comparison, and the ...
Graphics for Prospero Extended Pascal8/19/2006Francis Kong
  Q: I have programmed a Mandelbrot Set in Prospero Extended Pascal. I used it because it handles complex ...
  A: if you find turbo Pascal satisfactory in the graphics capabilities (640x480 in 16 colours) then I ...
.tpu files and more..7/6/2006J_Pooria
  Q: My name is Andrew and I am trying to make a program to control an electric robot using the serial or ...
  A: I think at first I have to ask you to excuse me for answering late.I had been on a long holiday,and ...
Turbo pascal Validation6/23/2006Mohammed
  Q: 0. i am having a bit of trouble. i have written a program with procedures. i wanted to validat it ...
  A: Assalamo 3alikom Mohamed, the simple way to do that is using the readkey funtion in a while loop, ...
Turbo PAscal problem3/15/2006Francis Kong
  Q: ------------- ------------Yup it works but the part where the chosen seat by user will never mark an ...
  A: I am not sure what you mean exactly, if you mean the X is not showing up then you have to have the ...
Turbo PAscal problem3/15/2006Francis Kong
  Q: Your'e right, but I want you to see this program. Here it it: And pls correct it if you can ...
  A: for a procedure to show the seats, use this: Procedure ShowSeats; var I : integer; J : char; ...
Turbo PAscal problem3/14/2006Francis Kong
  Q: I have ask you last time about passenger seaets and I already have an idea of it. But first I ...
  A: here are some suggestions without knowing how it doesn't work: have a variable called x and Y (the ...
Procedure2/26/2006Francis Kong
  Q: How do i write a procedure in pascal that rewrites every words in file in reverse order? fpc 2.0.2 ...
  A: If you are talking about words in text file with line breaks, here is a suggestion: first iteration ...
Procedure2/26/2006Nikolai Kolev
  Q: How do i write a procedure in pascal that rewrites every words in file in reverse order? fpc 2.0.2 ...
  A: There a lot of way to this task. I can offer you the following method: Use a dynamic array to store ...
Turbo pascal problem....2/15/2006Nikolai Kolev
  Q: Will I use any functions or procedures. When choosen seat(s) are taken it should mark "X" in those ...
  A: Well, when you print the info for the seats you must check whether that position in the array is ...
Turbo pascal problem....2/14/2006Nikolai Kolev
  Q: Please give just the format on how to use 2 dimensional arrays,case statement and give me the ...
  A: 1. Here is how to declare the array: var data: array[1..7, 1..4] of boolean; 2. Here is a way to ...
Turbo pascal question.2/10/2006Francis Kong
  Q: I would like to ask for help to you whose aim is to help someone most specially students ...
  A: ok, this is how to declare the thing: type seats = array [1..7,1..4] of boolean; var seatlist: ...
Turbo pascal v1.5 problem....2/7/2006Nikolai Kolev
  Q: I have a Pascal problem and I want you to please help me get the correct answer of ...
  A: I can give you some hint how to solve your problem, but I won't send you the code - the purpose is ...
serial port5/16/2005daru
  Q: i want to create a hockey-score-board with LEDs. Therfore, i already use the parallel port. But this ...
  A: Actually, you better ask this question to the guys sitting in the Asssembler group. In Turbo ...
Pascal password5/10/2005Mohammed
  Q: I am a computer science student doing pascal programming in my second year.But i have always failed ...
  A: If i understand your problem correctly the answer is simple, When starting the program, the first ...
Pascal Matching Problem (Recs n Files)3/20/2005J_Pooria
  Q: that was helpful, and i am grateful. I jus need to ask one more question on validation. For ...
  A: About the cust_name string, you may easily check it in a for loop.For example : Flag:=false;{Flag : ...
Pascal Matching Problem (Recs n Files)3/4/2005J_Pooria
  Q: I have been set the task at my college to create a program for an ordering system in Turbo Pascal ...
  A: Sorry for answering late, since I was stuck in some work and couldn't check your question. I just ...
pausing a program1/4/2005J_Pooria
  Q: I am attempting to write a simple number guessing game in pascal, all is goin well but at certina ...
  A: Sorry for answering late.I was unable to access the Internet for the same few days when you needed ...
utilising a hash table in pascal1/1/2005Mohammed
  Q: I need to creat a program in pascal that utilises a hash table data structure. The hash table has to ...
  A: Your problem statement was not clear enough for me to give you a good answer. please elaborate on ...
Random Numbers11/16/2004Francis Kong
  Q: I am trying to write a program in Pascal to generation random numbers ranging from 0..100 and place ...
  A: The problem with your code: in printNumbers, your count variable is not separated from the number ...
Password in pascal10/27/2004Mohammed
  Q: Im making a program in Pascal and (I want to adress that im new on programing) and I want it to be ...
  A: the simplest way to do so is indeed to use an if statement. Begin if (password="password123") then ...
Pascal 2D Array(URGENT)7/17/2004Mohammed
  Q: i am using pascal v7.0. i am busy doing a program and am attempting to use a 2d array in 1 of the ...
  A: I need to know what the two dimensions of the array represent. Is one of the dimension the type of ...
Simple Array4/21/2004Francis Kong
  Q: I currently try to learn to use array in Turbo Pascal. I try to create an Array name List that ...
  A: if you are reversing the elements in the array, you should notice: B[1] := A[maxnum]; B[2] := ...
Pseudo Pascal4/13/2004daru
  Q: I always thought cardinality denoted the size of a set :D They're probably different terminologies ...
  A: Hmm... Alright. You may wish to present two different approaches. Is it a problem for you to ...
Pseudo Pascal4/10/2004daru
  Q: I have a question that I am struggling with for some time now. I hope you allow me to ask this ...
  A: That's a strange task, really. IMHO it doesn't really do much to make you understand pascal types. ...
Yesterday date system3/22/2004Francis Kong
  Q: How can I get the yesterday date system and the date of day before. Thank you for your help.
  A: to get date of today, we can have: uses dos; var m,d,y,dow: word;{month,day,year,day of the week} ...
Turbo Pascal Program3/17/2004daru
  Q: Forgive me for being a bit dense right now, but i need a few more guidelines. I really need this ...
  A: I will NOT write the program for you. I gave you enough directions to start and finish the whole ...
Turbo Pascal Program3/13/2004daru
  Q: I desperately need a program or help developing one. I need a pascal program that is able to read ...
  A: This program is very easy to write. Start taking a char from the Roman number starting from right ...
Validation using Procedures3/12/2004Mohammed
  Q: I just wanna ask you the best way to validate datas using Procedures in Turbo Pascal.
  A: The best way to validate data is using functions not procedures, however if you need to use ...
arrays in Turbo Pascal1/22/2004Francis Kong
  Q: How can I make an array with a variable index type in Turbo Pascal? for example sth like this: Var ...
  A: you don't. for variable length array (not that you'll really need them anyways, just make a static ...
pascal program11/5/2003daru
  Q: A part of my program should do this :Three incorrect entries of the PIN number will disable the ...
  A: Hmmm... what you wrote is not a pascal program as such. OK. i:=3; Try:=true; while (i>0) and Try do ...
problem5/30/2003Nikolai Kolev
  Q: im currently writing a program that simulates 2 ships fighting each other. is there an OR loop like ...
  A: Well you can use WHILE loop! for example: i:=1; n:=100; p:=random(200)+1; repeat i:=i+1; until ...

Page:   1 | 2 | 3  |  Next      All

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.