Re: A85: Temporary variables


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

Re: A85: Temporary variables




On Fri, 27 Mar 1998 21:52:12 -0500, you wrote:

>
>In ZShell, when you want to make temporary space for a number you do
>something like this:
>
>SomeInt=$80DF
>
>Right?
>Does it work this way for characters also?
>And is there a way to temporarily make room for a string in a similar
>fashion?
>

You can store characters in the text mem, but if you want to store a
string, it is more efficient to use ".db" in the program.  but i guess
if you wanted, you could copy a string to the TEXT_MEM, but you would
still have to define the string else where in the program (either
using a .db and a string copy routine or manually ld'ing every
character into memory)

-mike pearce


Follow-Ups: References: