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;
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!