Doug wrote:
> Jeff,
>
> I tried your 4DNav app -- it's really cool!
>
> One thing I had to change to get it working is in extra/4DNav/
> 4DNav.factor
>
> -    "extra/4DNav"
> +    "resource:extra/4DNav"
>
> The "resource:" is interpreted by the normalize-path word and replaced
> with the Factor directory.  Pathnames are interpreted relative to the
> current-directory, which is "/" on Mac (so it looks for "/extra/4DNav/
> 4DNav.factor") and probably your Factor directory on Linux, which is
> why it works for you but not for Mac users.  So in general, pathnames
> should be made absolute with the "resource:" prefix.
>
> I'm not going to change it because I don't want to conflict with
> whatever changes you might have made.
>
> Doug

Doug

Thanks for the advice, I committed your change.

I didn't found any mention of "resource:" in docs. A note about it in
"Reading and writing files" and "Pathname manipulation" would be useful.

Jeff
  


------------------------------------------------------------------------------
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to