Bruce & Breeanna Rennie wrote:
> Good morning to all,
>
> I am trying to load the apps/lsys suite and have found a reference to
> vars and VAR:. In the current .089 these do not appear to exist.
>
> Is there a missing file somewhere?
>
Well, I found the location of vars.factor in libs.
Next problem is the word unit in lsys/strings/strings.factor
as per
: segment ( str -- seq )
{ { [ dup "" = ] [ drop [ ] ] }
{ [ dup length 1 = ] [ unit ] }
{ [ 1 over nth CHAR: ( = ]
[ CHAR: ) over index 1 + ! str i
2dup head ! str i head
-rot tail ! head tail
segment swap add* ] }
{ [ t ] [ dup 1 head swap 1 tail segment swap add* ] } }
cond ;
and also in
: exec-command-with-param ( param command -- )
command-table> hash dup [ peek unit call ] [ 2drop ] if ;
Any ideas as to what or where this word is defined?
--
regards
Bruce Rennie
(God's Own Country Downunder)
Warragul. Victoria.
Australia.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk