Getting value of a switch

Help
2012-05-19
2012-11-20
  • Zbynek Konecny
    Zbynek Konecny
    2012-05-19

    Hi,

    I would like to ask whether there is a way for using value of a switch (eg the factor switch) in interactive mode.
    I was trying

    if !*factor then 1 else 2;
    

    Thanks,
    Zbynek

     
  • Arthur Norman
    Arthur Norman
    2012-05-19

    You MAY fid that eg
       if (lisp !*factor) then yes else no;
       if (lisp !*int) then yes else no;
    etc helps. I just did a very quick test on that and do not 100% guarantee it, but it is something you can try!
    Arthur