This is a visible diagnostic mode when running the stand alone shell
V12Shell runs hidden by default but it also has a visible diagnostic mode for testing.
Diagnostic mode is activated by the /DIAG argument which can appear anywhere on the command line. For example:
v12shell c:\Scripts\00001.txt /DIAG
In diagnostic mode, the program displays the script header lines and command line arguments, the script contents (with a highlight to indicate the current line) and the current progress / final status.
When running in diagnostic mode V12Shell must be closed manually (X) when the script terminates.
An example is shown below.
The ‘Line status’ column shows information about each line in the script as it executes / completes.
The ‘Additional’ column shows the script line with any arguments / environment variables substituted.
The text on the diagnostic dialog appears in English by default. To display text from a named language file, add the name of the language file (without extension) to the /DIAG argument as shown in the following examples.
v12shell c:\Scripts\00001.txt /DIAG:Deutsch
v12shell c:\Scripts\00001.txt "/DIAG:English (UK)"