Trace

Syntax

Trace("string" or #action)

Description

Use Trace for debugging during authoring. Trace takes either a string or a symbol.

If you pass a string to Trace, every time Authorware finds the Trace function it dumps the string into the Authorware Control Panel window.

If you pass a symbol to Trace, the following actions are possible:

Trace works during authoring only.

Example

Put Trace in a calculation icon at the point where you want to make sure something has happened. This statement displays "Checkpoint 1" in the trace window when Authorware encounters it:

Trace("Checkpoint 1")

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/authorware/7/using_aw_en/16_fu339.htm