[A83] Re: BASIC strings


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

[A83] Re: BASIC strings




Well, if you're going to do base conversion, might I suggest the function

inString(

Check out the TI manual for more info. I used inString( to make my base
conversion progs.

Examples:

inString("0123456789ABCDEF","A") results in 11
inString("01234567","7") results in 8

I hope that helps you out forever!

----- Original Message -----
From: "Matt Durant" <darthvader102@knology.net>
To: <assembly-83@lists.ticalc.org>
Sent: Friday, May 11, 2001 12:15 PM
Subject: [A83] Re: BASIC strings


>
> That helps some, see, the problem is that I am making a base changing
> program (any base up to 36 to any other base) and I need to parse the
input.
> I am completely done with the program, it works.  I used you guys' tips
and
> it sped up the converting from base 10 to other bases.  I am having
trouble
> speeding up the any base to base 10 for conversion.
>
> >-----Original Message-----
> >From: assembly-83-bounce@lists.ticalc.org
> >[mailto:assembly-83-bounce@lists.ticalc.org]On Behalf Of
> >SOCCERK121@aol.com
> >Sent: Thursday, May 10, 2001 10:05 PM
> >To: assembly-83@lists.ticalc.org
> >Subject: [A83] Re: BASIC strings
> >
> >
> >
> >1+(Sub(Str1,x,1)="B")->Z
> >
> >If its B, z=2, else, z=1... dont know how much this
> >consolidates it, but it
> >should work....
> >
> >-joel
> >
> >
> >
>
>
>




Follow-Ups: References: