Dave Morse wrote:
> How do I write a javascript statement that writes to the javascript 
> console?  Something like:

Make sure the following checkbox is ticked:

Edit > Preferences > Debug > "Enable JavaScript dump() output"

And then in your JS, do:

dump("my favorite number is " + x + "\n");

The string param to dump() is written to (AFAIK) stdout, or stderr. 
Under Linux, that'll be to the term in which you started it or to 
~/.gnome-errors or ~/.xsession-errors or similar.

HTH,
Mike.

-- 
Mike Gratton <[EMAIL PROTECTED]>
"Every motive escalate."
  Blatant self-promotion: <http://web.vee.net/>


Reply via email to