🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.flame.pascal
Article #10

Re: help pascal basics

#10
From: The Scarlet Manuka
Date: Thu, 06 Jan 2000 00:00
17 lines
1863 bytes
In comp.lang.pascal.borland, Maynard Philbrook <jamie@cyberzone.net> wrote:
> {$I-} // turn off io checking..
>   read(F, R); // Read first record;
>   if ioerror Then Rewrite(F); // if error then create data file for the first
> time..

Don't forget to turn it back on again with {$I+}, unless you're planning to
write a bunch of I/O error handling procedures (which, for a basic
assignment like this, would almost certainly be unwarranted).

-- 
______________________________________________________________________
     The Scarlet Manuka,      |        Nitpickers' Party motto:
  Pratchett Quoter At Large,  |  "He who guards his lips guards his
 First Prophet of Bonni, is:  |  soul, but he who speaks rashly will 
   sacha@maths.uwa.edu.au     |    come to ruin." -- Proverbs 13:3
______________________________|_______________________________________
Technical Details
Message-ID: <851brp$tn4$1@enyo.uwa.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <850k3u$q98$2@news8.svr.pol.co.uk> <38742D46.F7C1CCFE@cyberzone.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1043cf,c99eccfba7fc996
X-Google-Attributes: gid1043cf,public
X-Google-Thread: 10c950,c99eccfba7fc996
X-Google-Attributes: gid10c950,public
X-Google-Thread: 111659,c99eccfba7fc996
X-Google-Attributes: gid111659,public
X-Google-Thread: 108ebd,c99eccfba7fc996
X-Google-Attributes: gid108ebd,public
X-Google-Thread: 10eb32,c99eccfba7fc996
X-Google-Attributes: gid10eb32,public
From: sacha@maths.uwa.edu.au (The Scarlet Manuka)
Subject: Re: help pascal basics
Date: 2000/01/06
Message-ID: <851brp$tn4$1@enyo.uwa.edu.au>
X-Deja-AN: 568981723
Approved: X-Chicken-Waver
References: <850k3u$q98$2@news8.svr.pol.co.uk> <38742D46.F7C1CCFE@cyberzone.net>
Organization: *wibble*
User-Agent: tin/pre-1.4-971106 (UNIX) (IRIX/6.5 (IP22))
X-Chicken-Status: Deceased - (e)X-Chicken.
Newsgroups: alt.flame.pascal,borland.public.delphi.objectpascal,borland.public.turbopascal,comp.lang.pascal.ansi-iso,comp.lang.pascal.borland