You are here: Available Utilities > D > DALRUN

DALRUN

Use this utility to execute and debug DAL functions.

Debug messages, certain errors, and a dump of the symbol table at the end of the run are examples of output this utility will generate.

Program names

Syntax

DALRW32 /X /INI /D /T /B

Parameter

Description

/X

(Optional) Supplies the name of a script to run. If you omit this option, you can use this INI option to provide the name of the script:

< DALRun >

Script = file name

You can use any extension. The default is DAL.

/INI

(Optional) Supplies the name of an INI file to load. This INI file supplies additional parameters and options. If an INI file named DALRUN.INI is present, the utility loads it by default.

Here are the INI options you can include in the INI file:

< DALRun >

Title = title string (an override to the window title)

Script = file name (the script to run)

< DALFunctions >

Keyword = DLLMOD->FunctionName

Keyword2 = DLLMOD->FunctionName2

(and so on)

/D

The debug switch starts the DAL debugger. When on, the script executes in single step mode and registers this DAL function: DEBUG(“message”).

The DEBUG function breaks execution, displays a message, and invokes the debugger in single step mode.

/T

This parameter sends certain text messages to the standard output device. These messages are not visible at runtime, but may be redirected when you run this utility. Here is an example:

DALRW32 /ini=test /d /t > test.txt

/B

This parameter lets you run the utility in batch or command line mode. When you include this parameter, the Windows dialog shown when the utility terminates is suppressed.

Note Refer to the DAL Reference for information on the DAL functions you can use to create the scripts DALRUN executes.