Article View: alt.flame.pascal
Article #8Re: help pascal basics
From: The Scarlet Manuka
Date: Thu, 06 Jan 2000 00:00
Date: Thu, 06 Jan 2000 00:00
28 lines
2259 bytes
2259 bytes
In comp.lang.pascal.borland, chris millar <cm497@ecs.soton.ac.uk> wrote:
> system running. I have chosen my data fields as Date of loan/return, what
> film(i.d number) and what time due back.
> I want to implement this using a 3 dimensional array, with a simple
Why on earth do you want a 3-dimensional array for this?
Also, don't you think it would be a good idea to store some information
about *who* has a given video on loan?
Your data fields are not going to be of the same type. Therefore the basic
data structure should not be an array but a record. You may have an array of
such records, or simply store them in a file.
Details of file accessing methods can be found in your manual or textbook.
They are quite simple.
--
______________________________________________________________________
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
______________________________|_______________________________________
*All opinions in this article are fictional. Any resemblance to real
opinions, whether living or dead, is purely coincidental.*
Technical Details
Message-ID:
<850vsf$j3f$8@enyo.uwa.edu.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<850k3u$q98$2@news8.svr.pol.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10eb32,c99eccfba7fc996 X-Google-Attributes: gid10eb32,public X-Google-Thread: 111659,c99eccfba7fc996 X-Google-Attributes: gid111659,public X-Google-Thread: 1043cf,c99eccfba7fc996 X-Google-Attributes: gid1043cf,public X-Google-Thread: 108ebd,c99eccfba7fc996 X-Google-Attributes: gid108ebd,public X-Google-Thread: 10c950,c99eccfba7fc996 X-Google-Attributes: gid10c950,public From: sacha@maths.uwa.edu.au (The Scarlet Manuka) Subject: Re: help pascal basics Date: 2000/01/06 Message-ID: <850vsf$j3f$8@enyo.uwa.edu.au> X-Deja-AN: 568928327 Approved: X-Chicken-Waver References: <850k3u$q98$2@news8.svr.pol.co.uk> 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