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 different 
environments and/or
Factor versions?

In Python I'm doing this the following way:

if sys.version_info[0] == 2:
  from BaseHTTPServer import BaseHTTPRequestHandler
  from BaseHTTPServer import HTTPServer
else:
  from http.server    import BaseHTTPRequestHandler
  from http.server    import HTTPServer

Many thanks in advance.

Martin



------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to