RSS Forums RSS
Please support our Pascal and Delphi advertiser: Programming Forums

Pascal : Cant see why program wont run, exits with error.

Join Date: Apr 2007
Posts: 27
Reputation: Terry Robinson is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
Terry Robinson Terry Robinson is offline Offline
Light Poster

Re: Pascal : Cant see why program wont run, exits with error.

  #2  
Apr 25th, 2007
You didn't say what Pascal you are using, but typically readln expects a text variable and you are passing an integer. If the point is to read in an ASCII code and then print out the character, you need to read in the text, convert it to an integer and then convert the integer to the character.
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 10:27 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC