]
Gesendet: Dienstag, 24. Mai 2016 23:53
An: factor-talk@lists.sourceforge.net
Betreff: Re: [Factor-talk] Conditionally execute words in .factor-rc
Yes, a few different ways:
1) The entire file is parsed so if you have a word that is available in 0.98
but not in 0.97, you either have to call
Yes, a few different ways:
1) The entire file is parsed so if you have a word that is available in
0.98 but not in 0.97, you either have to call it dynamically:
"vm-version" "system" lookup-word execute( -- string )
or
2) Make separate files for 0.97 and 0.98, unfortunately we don't have
Dear all,
Is there a way to conditionally execute words?
For example: In one image "fuel" is loaded. In another image "fuel" is not
loaded.
Or: In Factor 0.98 there is a word "vm-version". In Factor 0.97 there is no
such word.
Is it possible to write a .factor-rc startup file that handles