On Tuesday 29 July 2008 04:30:22 Slava Pestov wrote:

> I noticed that in several places in extra/csv, you call init-vars,
> which sets the delimiter variable if it isn't set already. A better
> solution is to use normal variables instead of VAR:s, and set the
> default value globally in a top-level form of the source file:

Vars *are* backed by normal variables. He has a var named 'delimiter':

        VAR: delimiter

So all he has to do is:

        CHAR: , delimiter set-global

To be clear, if you do:

        VAR: abc

You get a "normal variable" named 'abc' plus a reader and writer: abc> >abc

Ed

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to