Debug Functions in DIAL

The debug functions control debugging output from DIAL to trace scripting issues.

For example:

debug.set(1); // turns on debugging

debug.set(0); // turns off debugging

 

This sample has debugging turned on:

C:\DI_Solution\executables\dial\java -jar dial.jar hello_world.dial DIAL Interpreter 6.3 (23)

 

Evaluating factor console.writeln("Hello World")

Evaluating factor "Hello World" Hello World

Evaluating factor console.writeln("It works now!")

Evaluating factor "It works now!"It works now!

 

C:\DI_Solution\executables\dial>