Synopsis
Adding a dialog to a custom CCL program
Solution
Note that you can add a dialog box to any CCL command just by typing
Arg_Entry = Dialog_Box; YourCCLcommand;
on the command line. Your command (here named YourCCLcommand) should already be defined with variable arguments. The underscore character in a command argument name will be interpreted as a space in the subsequent dialog box.
Note that if you write a new command:
Command1()
{
Arg_Entry = Dialog_Box;
Command2;
}
Command2 will be executed with a dialog box if you call Command1. (Make sure that Command2 has arguments)