[Coco] Does the DIR option of OPEN work in Basic09 ?

James Jones jejones3141 at gmail.com
Sat May 22 19:34:30 EDT 2021


Directory entries need some massaging to turn into printable form; they are
not text. Even with that, unless you have /dd/SYS/SYS, you won't see an
entry for "SYS" in /dd/SYS. You will see one for ".", which corresponds to
/dd/SYS.

On Sat, May 22, 2021 at 2:33 PM <coco at jechar.ca> wrote:

>
> I tried this OPEN #dp,dline$:READ+DIR
>
> But
>     dline$="/dd/SYS"
>     OPEN #dp,dline$:READ+DIR
>     REPEAT
>        READ #dp,line$
>        PRINT line$
>     UNTIL EOF(#dp)
>
> Did not print the SYS directory, Why ?
>
> Charlie
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list