TIP: Click on subject to list as thread! ANSI
echo: apple
to: comp.sys.apple2
from: Michael J. Mahon
date: 2008-11-11 22:35:22
subject: Re: Applesoft limitation

mojoehand wrote:
>> On page 33 of the beagle basic manual a subroutine for an Applesoft
>> SUBSTRING SEARCH is listed. See lines 100-160.
> 
> Thanks Bill. This corresponds with Michael's suggestion #2 above. I'll
> try this method and see if it is fast enough for what I am doing. I'm
> working my way through an old book with a mixture of 6502 and
> Applesoft. I didn't like the way the book was doing hex to decimal
> conversions, which is why I wanted to use INSTR. I remember that on
> more fully featured MS BASICs, INSTR was very fast.
> 
> Speaking of missing BASIC keywords, I see that MOD is also missing
> from Applesoft. Another very useful function.

A fairly fast hex-to-number conversion routine is in lines 210-260 of:

http://home.comcast.net/~MJMahon/FSERVER.txt

...as I said, I try not to need INSTR.  ;-)

-michael

******** Note new website URL ********

NadaNet and AppleCrate II for Apple II parallel computing!
Home page:  http://home.comcast.net/~mjmahon/

"The wastebasket is our most important design
tool--and it's seriously underused."
--- SBBSecho 2.12-Win32
* Origin: Derby City Gateway (1:2320/0)
SEEN-BY: 10/1 3 34/999 120/228 123/500 140/1 222/2 226/0 236/150 249/303
SEEN-BY: 250/306 261/20 38 100 1404 1406 1410 1418 266/1413 280/1027 320/119
SEEN-BY: 393/11 396/45 633/260 267 712/848 800/432 801/161 189 2222/700
SEEN-BY: 2320/100 105 200 2905/0
@PATH: 2320/0 100 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.