Re: LF: Saving info...


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

Re: LF: Saving info...



On Tue, 19 Nov 1996, BRENT L GRIGG wrote:


> I would like to know how to save a lot of txt in fargo.  I want it to be
> saved in the program itself.  I know that to save ten characters, it
> would go like this:
> txt1   dc.b    0,0,0,0,0,0,0,0,0,0,0  would it be any different to save
> more info?
> This txt would have to be able to fit alot of txt.  How did they do it in
> zshell with 'organizer'?  Thanks in advance.
> 
Try:
txt1: dcb.b 10,0
instead, this reserves 10 bytes with the value 0.


For larger blocks, use the create_handle() and destroy_handle() functions 
(in Fargo or Romlib, cant remember) to allocate a block of memory. You 
can then save the handle to the block in your program.


//Sasq (Jonas Minnberg)


References: