[Tutor] RE: New file stuff
Scot W. Stevenson
scot@possum.in-berlin.de
Wed, 14 Aug 2002 23:08:55 +0200
Hello Alan,
> Pascal has the rather nice feature of defining binary
> files in terms of the high level dta types you want to
> store. Thus if we define a class Foo we can declare a
> FILE OF FOO
Okay, I found a text on Pascal that say stuff like FILE OF CHAR and FILE OF
PACKED ARRAY [1...40] OF CHAR - but isn't this better handled by Python's
pickle module?
> I don't mean define the interface I mean actually write
> a prototype of the basic open/read/write/slice operations
> as a class.
Oh. Well, I'll just start pecking on it and see how far I get. Whenever I
get stuck, I can always come back here =8).
> To radically change how we use files we need to change
> how we design the hardware!
Well, that might be somewhat outside of my range at the moment, but I'll
keep it in mind =X)...
Y, Scot
--
Scot W. Stevenson wrote me on Wednesday, 14. Aug 2002 in Zepernick, Germany
on his happy little Linux system that has been up for 1388 hours
and has a CPU that is falling asleep at a system load of 0.05.