TIP: Click on subject to list as thread! ANSI
echo: cbm
to: HARRY POTTER
from: DANIEL ENGLAND
date: 2016-09-03 02:53:00
subject: Re: 1581: switching to pa

On Saturday, 3 September 2016 19:37:17 UTC+10, Harry Potter  wrote:
> On Saturday, September 3, 2016 at 4:42:47 AM UTC-4, Daniel England wrote:
> > You have to go all the way back to the root and then browse back.
> 
> Okay, so how do I do that?

Umm..  Off the top of my head...  I was doing this the other day.

In basic it goes:

    10 open 15, 8, 15
    15 rem go to root
    20 print# 15, "/"
    25 rem browse each in turn
    30 print# 15, "/0:first"
    35 print# 15, "/0:second"
    40 close 15


I have a very well commented basic program that creates a 3 level deep tree
that I used for testing and demonstrates directory walking.  You have to use it
on a blank disk though because it will format it completely.  I can give it to
you if you like.  
It was written in basic 7 but I think it should work in 2.


Daniel.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

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™.