Date : Wed, 23 Sep 2009 18:17:52 +0200
From : rick@... (Rick Murray)
Subject: Beeb, this was your grandma!
Steve Fewell wrote:
> Well, actually Ada (similar to Pascal in some respects) supports
> packages, where types and associated functions can be encapsulated
> within a package, and in that package some functions can be made
> private - so only other functions inside the package can see them;
> and others can be made public and exposed so the rest of the program
> to use.
So how does this differ from static/extern in a C program, using
separate .c/.h files for the "package"?
Best wishes,
Rick.
--
Rick Murray, eeePC901 & ADSL WiFI'd into it, all ETLAs!
BBC B: DNFS, 2 x 5.25" floppies, EPROM prog, Acorn TTX
E01S FileStore, A3000/A5000/RiscPC/various PCs/blahblah...