[comp.sys.apple2] converting an Applesoft Directory Reader to ZBASIC...

rsherm@umbio.med.miami.edu (Roby Sherman) (02/11/91)

I've been converting an Applesoft program to ZBASIC for a friend and have
just hit a snag. I cannot get a working routine that reads directory entries to work under ZBASIC.

For example in Applesoft, the code does a :

10 D$=CHR$(4)
20 ?D$"OPEN /VOLUMENAME ,TDIR"
30 ?D$"READ /VOLUMENAME"
40 INPUT A$  
    {PULL OUT A$ INFORMATION NEEDED}
    AND EVENTUALLY AFTER A FEW MORE INPUTS

100 ?D$"CLOSE"

Now how can I do that in ZBASIC? ZBASIC doesn't have a filetype pre-defined for DIR
files... HELP!!!!


Thanks...

     Roby

--
Roby Sherman                    UUCP Access : {gould!uunet}!umbio!rsherm
                                Internet    : rsherm%umbio@umigw.miami.edu
			
"Pulver the river and Frotz the woods... " -- A Zorkian Xmas Tree Monster