[Coco] PWD in Basic09 ?

coco at jechar.ca coco at jechar.ca
Fri Aug 14 12:37:32 EDT 2020


  I could SHELL "PWD > tempfile"
  Then read the tempfile to determine my current directory.

  Is there any way to access the value of the current directory
  from basic09 more directly.

  For my application I need to be able to read PWD into a string
  so I can check if I am on a top level directory. Ie. Only
  one occurrence of "/".

  Charlie


More information about the Coco mailing list