Re: A86: im a little stupid so i need some help


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

Re: A86: im a little stupid so i need some help




okay.  you but still, why would you want to store it there?  will it stay 
there until the next time you run your program?




In a message dated 5/18/99 6:37:46 AM Pacific Daylight Time, 
ziggy2282@juno.com writes:

> Yes, it's just a temporary storage space...it's used if you want to store
>  your own variables rather than creating reals.  For example, say that you
>  want to keep track of a variable called score...then,
>  
>  ld a,0
>  ld (score),a
>  
>  Then, at the end your prog store a to textshadow by 
>  
>  score = _textShadow
>  
>  then next thing would be _textShadow+1 then +2, etc...but only 168 bytes
>  of data can be held there...
>  
>  That way, you can create custome vars to work with, and not have to
>  create reals or worrying about register flags being destroyed.  I think
>  that you can also store values to _varspace the same way, but var space
>  has more bytes so more vairables can be stored to it...
>  
>  ~Nick