Output to console

Bringing your stacks to the web

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
seaniepie
Posts: 154
Joined: Wed Sep 07, 2011 10:56 am

Output to console

Post by seaniepie » Tue Jul 09, 2019 5:51 pm

Hi all,

How do we output to the textbox console on the standard html5 output? I understand we may need to inject a bit of JS perhaps. Just for JS debugging.

Thanks

seaniepie
Posts: 154
Joined: Wed Sep 07, 2011 10:56 am

Re: Output to console

Post by seaniepie » Wed Jul 10, 2019 12:33 am

Not to worry, I worked it out::

From LC into the JS console window:

Code: Select all

put "MyText"
put tMyVar
From JS into the JS console window:

Code: Select all

Module.print('MyText');
Module.print(myVar);

Post Reply

Return to “HTML5”