UCOMPILE

Uncompiles a compiled Proc.

Syntax

UCOMPILE

Prompts

INPUT SOURCE FILE NAME ?
Enter the name of the file containing the compiled version of the Proc.

INPUT DEST FILE NAME ?
Enter the name of the destination file for the uncompiled version of the Proc. If you specify the file containing the source item, the compiled Proc will be overwritten.

INPUT ITEM LIST ?
This prompt is only displayed if there is no active select list. Enter a space-separated list of items to uncompile.

If there is an active select list, this provides the list of items.

DISPLAY TRACE? (Y/N) ?
If you enter Y  in response to this prompt, debugging information is displayed.

Comments

UCOMPILE converts direct jumps back to intra-program jumps. Note, however, that it cannot maintain the original label values or restore comments. In addition, G F and G B commands are converted to G commands.

Caution

Any item in the destination file that has the same name as a source item will be overwritten.

Example

:UCOMPILE
INPUT SOURCE FILE NAME ?PROC.FILE
INPUT DEST FILE NAME ?PROC-SOURCE
INPUT ITEM LIST ?UPDATE.INV
DISPLAY TRACE? (Y/N) ?N

This example uncompiles the UPDATE.INV Proc in the file PROC.FILE, and files the uncompiled item in the file called PROC-SOURCE. The source item in PROC.FILE file remains unchanged. The item containing the uncompiled item is also named UPDATE.INV.