Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-06

error in pascal program

5 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

ak za

Hello
I use turbo_pascal  language for learning. I write a program  (T3ch18.pas) which use two units – (Uadd_pro.pas) and  (Un3ch 18.pas). In unit  Uadd_pro.pas , I used procedure ask. It works true when I test it only, but when I use them together,  above mentioned procedure in line – readLn- causes error and cpu abrupts running and finished running it. If it is possible for you, please help me to solve this problem. For run (T3ch18.pas) after running and choosing 1 for your choice in menu choice, it wants from you a positive- integer number as number of stuff and a real value as price of stuff and a name as vender, after then it ask you that if you  want to continue or not and in this stage error will occur. Thanks for your attention.
 

Reply by email

Jonas Maebe
to Vincent Snijders
Vincent Snijders wrote 6 lines
ak za schreef: > Hello Please subscribe to the fpc-pascal mailing list. http://lists.freepascal.org/mailman/listinfo/fpc-pascal

He is subscribed, but the message was held for moderator approval because there were too many recipients. Too the original poster: please only post to the list instead of directly to 20 of its subscribers. Mailing people directly in this way will not increase your chances to get help, but rather decrease them (because it's impolite).

Jonas

Reply by email

Michael Van Canneyt
to Graeme Geldenhuys
Graeme Geldenhuys wrote 7 lines
program T3ch18; {an answer for tamrine 3 of chapter 18. writer :Akbar Zamani date:1388/3/15} ^^^^^^^^^ Wow, that is a rather old computer program. :-)

Not if it is an arabic or muslim date, I believe they started in the year 600-something, which would be about right :-)

Michael.

Reply by email