Languages :: Pascal :: Where can i find a good tutorial site for pascal |
|||
| By: komainu |
Date: 18/07/2003 00:00:00 |
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 | 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 | 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 | 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 |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








