[Coco] Get the current work path

Wayne Campbell asa.rand at gmail.com
Wed Feb 14 22:20:19 EST 2018


Are you typing that at the command prompt for OS 9? In basic 09, it has to
be a statement in a source code file compiled in the basic 09 editor and
one from there if it is still giving you an error then check to make sure
that ex pwd is in quotes. I have to get my computer and Boot It Up to run a
test and give you some actual code give me a little time and I will post
back here with what I figure out.

On Feb 14, 2018 7:05 PM, "phil pt" <ptaylor2446 at gmail.com> wrote:

> I did that var$:=SHELL "ex pwd"  and I got a error
>
> On Wed, Feb 14, 2018 at 10:04 PM, Wayne Campbell <asa.rand at gmail.com>
> wrote:
>
> > Sigh... The actual statement would be var$:=SHELL "ex pwd". I think. I
> will
> > have to test it to see if it works.
> >
> > On Feb 14, 2018 7:02 PM, "Wayne Campbell" <asa.rand at gmail.com> wrote:
> >
> > > Sorry, I was thinking OS-9. In Basic09 you can use SHELL "ex pwd" or
> > SHELL
> > > "ex pxd", and I think there is a system call you can use with SysCall,
> > but
> > > I don't recall at the moment.
> > >
> > > On Feb 14, 2018 6:59 PM, "Wayne Campbell" <asa.rand at gmail.com> wrote:
> > >
> > >> PWD for current data directory and PXD for current execution
> directory.
> > >>
> > >> On Feb 14, 2018 6:35 PM, "phil pt" <ptaylor2446 at gmail.com> wrote:
> > >>
> > >>> It's been a while but how can you get the current work path in
> basic09?
> > >>>
> > >>> --
> > >>> Coco mailing list
> > >>> Coco at maltedmedia.com
> > >>> https://pairlist5.pair.net/mailman/listinfo/coco
> > >>>
> > >>
> >
> > --
> > Coco mailing list
> > Coco at maltedmedia.com
> > https://pairlist5.pair.net/mailman/listinfo/coco
> >
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list