visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Languages :: Pascal :: Where can i find a good tutorial site for pascal


By: komainu U.S.A.  Date: 18/07/2003 00:00:00  English  Points: 125 Status: Answered
Quality : Excellent
in specific, i want a site with detailed explanations on how to write code on READing files and WRITEing them. (this is for dev-pascal)

By: VGR Date: 18/07/2003 19:41:00 English  Type : Answer
it's rather simple.

(for typed files)
write and read are routines operating on any file and writing/reading data of the type of the file, or of type string if the file is of type text (now "textfile" in Delphi 4+)

writeln and readln operate on text files only and are explicit (read string until EoLn, write string with EoLn appended)

EoF() is ***the*** function to use for detecting the end-of-file

typed files can be handled with FileSize() FileCount() Seek() GetFilePos() etc etc

and files can be opened (classically) in read/write/append mode using ReSet(), ReWrite() or Append()

regards
By: dbrunton Date: 18/07/2003 20:17:00 English  Type : Assist
Well, here is a link to lots of Pascal tutorial sites.

<A HREF="http://www.google.co.nz/search?q=pascal+tutorial&ie=ISO-8859-1&hl=en&meta=">http://www.google.co.nz/search?q=pascal+tutorial&ie=ISO-8859-1&hl=en&meta=</a>

You're asking for specific write and read tutorials. The best examples I know are in the Turbo Pascal manuals. Whether any of the tutorial sites mentioned above go into depth on write and read, I can't tell you. I don't have enough time to evaluate them all.
By: knightmad Date: 18/07/2003 20:49:00 English  Type : Assist
dbrunton: hehehehe, this would be my answer too, but instead google.com.nz, I would post google.com.br

komainu: looking for Pascal tutorials in google (1st thing you should do), I found this great site: <A HREF="http://www.tutorialbox.com/tutors/pascal/paslist.html">http://www.tutorialbox.com/tutors/pascal/paslist.html</a>

Specifically for you question, the 11st chapter, <A HREF="http://www.tutorialbox.com/tutors/pascal/chap11.html">http://www.tutorialbox.com/tutors/pascal/chap11.html</a> It comes with sample source code for you to test and learn.

Hope it helps,
Fernando - Brasil

Do register to be able to answer

EContact
browser fav
page generated in 387.076850 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page