Re: A86: Manipulation of numerical values of strings


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

Re: A86: Manipulation of numerical values of strings




At 12:44 PM 3/29/98 -0600, you wrote:
>
>>I think I see what you're saying.  I have no clue how to do it in ASM.  I
>know this is
>>an assembly list but here's the solution in TI-BASIC:  Use the commands
>"Eq>St" and
>>"St>Eq"
>>
>>Here's an example TI-BASIC program:
>>
>> InpSt STRING
>> St>Eq (STRING,EQU)
>> Disp EQU
>
>
>thats only good if the eq is a constant, but you cant manipulate it
> 

"22"->STRING
St>Eq (STRING, NUMBER)
sin(NUMBER)->Y
Disp Y

will display
.34391824934 (whatever the value of sin 22 is)

===========================================
David 'Arawn' Dollar
arawn@cpuweb.com   ICQ 4336544
-------------------------------------------
Anyone who goes to a psychiatrist 
ought to have his head examined.
        -- Samuel Goldwyn
===========================================



References: