[A83] Re: Writing equations to Y1 (in Ion)


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

[A83] Re: Writing equations to Y1 (in Ion)





   ld hl,__equname
   rst 20h                          ;copy to OP1
   bcall(_CHKFINDSYM)
   bcallnc(_delvar)                 ;delete if exists
   ld hl,3                          ;size of equation in bytes
   bcall(_CREATEEQU)
   inc de
   inc de                           ;de -> data storage
   ld hl,__equation
   ld bc,3
   ldir                             ;copy equation

   ret

__equname:  .db $03,tVarEqu,tY1,0,0 ;change name here
__equation: .db tX,tAdd,t1          ;"X+1"

.end
END

>
>How do you write equations to Y1(2,3,etc) using Ion?
>
>Jim
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp