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

James Jones jejones3141 at gmail.com
Sat May 22 19:54:27 EDT 2021


Oops.. not *quite* text. There's the file's LSN and I don't recall offhand
how the name is terminated.

On Sat, May 22, 2021 at 6:34 PM James Jones <jejones3141 at gmail.com> wrote:

> 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