Hi Bernd,
The PJSR Console object represents the text output component of the platform's Process Console window. It has nothing to do with console logging tools provided by most web browsers.
The Console object in JavaScript has exactly the same text output functionality as the pcl::Console C++ class:
http://pixinsight.com/developer/pcl/doc/html/classpcl_1_1Console.htmlConsole supports a variety of special tags to perform text formatting and cursor control operations. For example, try this command from PixInsight's command line:
j console.writeln( "This is <b>bold</b> and this is <i>italics</i>." );So the '<' and '>' characters have a special meaning when you include them in text written with console.writeln() or console.write(). If you want to write arbitrary text that may include these characters (as well as other control characters), use the <raw></raw> tags. For example:
j console.writeln( "This is <raw>some <text> that may contain '<' and '>' characters</raw>, but this is <i>not</i>." );