You should look at Ed's (dharmatech's) extra/vars module, which lets
you get/set variables with a more convenient syntax. Personally, I'm
fine with get and set. Remember that  symbols are usually more
appropriate than strings as variable names, since they are
vocabulary-scoped.

Dan

On Dec 17, 2007 5:23 AM, Phil Dawes <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> For the last few weeks when using dynamic variables I've tended to
> create a new 'accessor' word rather than using 'foo get'.
>
> E.g. I'd do
>
> : foo  "foo" get ;
>
> I don't know what it is about the 'get' word, but for me it seems to
> interrupt the flow of the code. However I found that using @ in place of
> get (like forth does) doesn't niggle nearly me as much:
>
> : @ get ;
>
> foo @ do-something-with-foo
>
> Does anybody else find 'get' gets in the way?
>
> N.B. I've held off redefining ! for 'set' for the time being (and thus
> redefining the comment character in the process), mainly because I don't
> set variables very often and when I do it tends to be in a block at the
> start of a scope.
>
> Cheers,
>
> Phil
>
>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to