No, it's for any applications command-line. That is just an example of passing 
arbitrary command line arguments to the Factor binary. You can use it the same 
way from your own vocabulary using parse-command-line. 


> On May 5, 2017, at 10:05 PM, Georg Simon <[email protected]> wrote:
> 
> I want to use command-line arguments in an application.
> 
> Am Fri, 05 May 2017 15:14:20 +0300
> schrieb Alexander Ilin <[email protected]>:
> 
>> What were you trying to do?
>> 
>> 05.05.2017, 12:55, "Georg Simon" <[email protected]>:
>>> I tried
>>> --------------------------------
>>> USING:
>>>     command-line namespaces prettyprint sequences
>>>     ;
>>> IN: test-script
>>> 
>>> SYMBOL: update
>>> 
>>> command-line get [ param ] each
>>> update get .
>>> --------------------------------
>>> $ fl test-script.factor update
>>> f
>>> --------------------------------
>>> What I expected was t .
>>> It seems that I do not understand the usage of ```param``` ?
>>> 
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> Factor-talk mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/factor-talk  
>> 
>> ---=====--- 
>> Александр
>> 
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Factor-talk mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to