Logging/Debugging Scripts

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

Logging/Debugging Scripts // Archive: Tech Forum

1  |  

Post by mendrak // Jun 7, 2006, 1:48am

mendrak
Total Posts: 18
Is there a way to output some information from scripts to the console window while a command is running?


I would like to insert some code to to just print out some mesh contents and intermediate steps as I'm trying to learn the ins and outs of the methods and data objects.

Post by clintonman // Jun 8, 2006, 5:23pm

clintonman
Total Posts: 304
pic
The System.Trace will print to the Output Console.


System.Trace("start of import");

System.Trace("numFrames = " + numFrames);


I use jscript, but I think it works the same in vbscript.


Clinton

Post by mendrak // Jun 10, 2006, 2:56am

mendrak
Total Posts: 18
That worked thanks!
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn