Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth > Directories Red...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 20 Topic 3988 of 4050
Post > Topic >>

Directories Redux

by Bruce McFarling <agila61@[EMAIL PROTECTED] > Apr 5, 2008 at 07:00 PM

As far as I recall, the Directories proposal foundered on the question
of what should be the prefix. If "name.fs" is in the current working
directory, and in "./name.fs", "./" is conventionally a no-op, then
how can "./" change the meaning from cwd to the current source
directory?

How about: no prefix?

SF" ..." returns a string anchored in the directory of the source file
(or an implementation specified home/default directory if executed
from the command line).

WF" ..." returns a string that refers to a file anchored in the
current working directory.

LF" ..." returns a string that refers to a file anchored in the
current library directory.

So ...

LF" nicl/panel.nlf" REQUIRED

.... would return whatever string is needed to refer to the file
``panel.nlf'' in the subdirectory ``nicl'' in the library directory.

.... and if ``panel.nlf'' had the string

[optional] {gforth} [IF] SF" gforth/panel.fsn" INCLUDED [THEN]

.... that would refer to the subdirectory ``gforth'' in ``nicl''.




 20 Posts in Topic:
Directories Redux
Bruce McFarling <agila  2008-04-05 19:00:00 
Re: Directories Redux
anton@[EMAIL PROTECTED]   2008-04-06 14:34:53 
Re: Directories Redux
Jonah Thomas <jethomas  2008-04-06 13:05:02 
Re: Directories Redux
Bruce McFarling <agila  2008-04-06 11:53:00 
Re: Directories Redux
Bruce McFarling <agila  2008-04-06 12:06:04 
Re: Directories Redux
m_l_g3 <m_l_g3@[EMAIL   2008-04-09 14:37:22 
Re: Directories Redux
anton@[EMAIL PROTECTED]   2008-04-10 19:06:56 
Re: Directories Redux
Bruce McFarling <agila  2008-04-09 15:21:11 
Re: Directories Redux
m_l_g3 <m_l_g3@[EMAIL   2008-04-09 16:16:00 
Re: Directories Redux
Bruce McFarling <agila  2008-04-09 22:08:00 
Re: Directories Redux
Bruce McFarling <agila  2008-04-10 19:39:57 
Re: Directories Redux
m_l_g3 <m_l_g3@[EMAIL   2008-04-11 04:43:45 
Re: Directories Redux
Bruce McFarling <agila  2008-04-11 09:28:57 
Re: Directories Redux
m_l_g3 <m_l_g3@[EMAIL   2008-04-11 10:49:13 
Re: Directories Redux
m_l_g3 <m_l_g3@[EMAIL   2008-04-11 11:19:53 
Re: Directories Redux
Bruce McFarling <agila  2008-04-11 20:34:02 
Re: Directories Redux
Bruce McFarling <agila  2008-04-12 07:18:01 
Re: Directories Redux
Bruce McFarling <agila  2008-04-12 10:56:41 
Re: Directories Redux
m_l_g3 <m_l_g3@[EMAIL   2008-04-14 08:35:17 
Re: Directories Redux
Bruce McFarling <agila  2008-04-14 12:46:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon May 12 2:50:56 CDT 2008.