_label Utility - Convert Line Numbers to Line Labels
Syntax
call "_label",inpgm$,outpgm$,errmsg$,always_create
Description
The _label utility scans a tokenized PRO/5 program for all line number references, converts them to line label references, and generates line labels as necessary. The utility writes the output to a separate program file.
Argument |
Description |
inpgm$ |
Name of the source program. It will not be modified in any way. |
outpgm$ |
Output (target) program. If it exists, it will be erased. |
errmsg$ |
|
always_create |
If 0: Do not create outpgm$ if there are no line labels to convert. If 1: Create outpgm$ even if there are no line labels to convert. |