[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: memory use



** Reply to message from "Brian Henderson"  on Sat, 28
Jun 2003 11:08:48 -0700


> Is a macro that's run through U2, loaded into memory the same as saying
> "run blah-blah.mac"?

When run, yes -- actually, just before it's run. That's the nature of
interpreters: they load the whole script first, some also check for integrity
while doing so, others just execute and crash if they hit bad code.
Afterwards, that routine is retained in memory until replaced by the next
routine you execute -- note that you can say something like RUN MYPROG, which
executes MYPROG once, then just command RUN with no argument, and the
last-executed routine is RUN again... and again... until replaced by an
argument specifying a different routine.

There _were_ routine libraries for Xy3. I had an integrated system called
OODLES. Tim Baehr, if not mistaken, had one (or was that for Xy4?). The A la
carte add-on was a library, less or more.

-----------------------------
Robert Holmgren
holmgren@xxxxxxxx
-----------------------------