Re: Re[2]: A86: untokenizing


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

Re: Re[2]: A86: untokenizing




_setupEditEqu & _EDITPROG set up the imathptrs for you.

here's where they all point after _EDITPROG and before _CLOSEPROG:
data before var
_IMATHPTR1
current var data
_IMATHPTR2
extra space for adding to var
_IMATHPTR3
data after var
_IMATHPTR4
nothing

this isn't always the case while in the editor, because if the cursor has
moved, the extra space can be in the middle of the var.

one important thing to remember with _detok is that it doesn't check if
the program is tokenized or not.  if you call it twice, it will try to
detokenize twice.

maybe i'll see if i can figure out _setEditDetok, it should make this a
shorter process, and i think it might check if it's tokenized or not.

-josh

On Tue, 04 Jan 2000 08:05:15 -0500 <glendon.solsberry@tricon-yum.com>
writes:
>
>     So then with those IMATHPTR's, wouldn't you need to know the size 
>of 
>     the program, or can you get that thru VAT searching?
>     
>     Glen
>     tutorial1.cjb.net
>
>
>______________________________ Reply Separator 
>_________________________________
>Subject: Re: A86: untokenizing 
>Author:  <assembly-86@lists.ticalc.org> at Internet
>Date:    10/17/99 11:35 AM
>
>
>     
>_closeEditEqu will update imathptr2 and the size word in the program, 
>
>then calls _CLOSEPROG.  if you call _CLOSEPROG first, it will chop off 
>
>the end of the program.
>     

________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.