Re: LZ-Adv: Is it possible to write to .db's?


[Prev][Next][Index][Thread]

Re: LZ-Adv: Is it possible to write to .db's?



>>This method describes how to change a con-changing string.  Was the
>>original question asking that, or was it asking how to put a varialble
>>into a .db during execution of a program?
>
>.db's don't change, unless the program changes the memory that they
occupy.
>For instance Mel's game, collumns has a save game memory allocation, a
>list of db's.
>To save a game, the compiler loads the address of the first .db, and
writes
>the saved game there when the program exits.  What good would it do you
to
>change data like this _while_ the program is running?


Saving a game or high score was actually what I was thinking of (even if
it's in the process of exiting, it's still technically "running").  Of
course, if you had a REALLY big proram that uses up more variable space
than the text and video memories, you yould need to use a .db for any
remaining data.  (maybe a REALLY large array, or page-swapping?)




Jason "Thursday" Wenger
jwenger@juno.com
Illegitimi no carborundum


References: