See if analyzer is operating in an interactive environment (e.g., in VisualText)
returnedBool = interactive()
returnedBool - type: bool
True if analyzer is in an interactive environment.
In standalone or embedded analyzer, can call nlp->setInteractive(bool) to set this (see the NLP.h API file in VisualText/include/API/lite/nlp.h).
# In VisualText, send output to a file, but outside of VisualText, direct outputs to a user-supplied buffer.
G("out") = "buf.txt";
G("out") = cbuf();
G("out") << "Hello output!" << "\n";