Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (G-N)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
6-45
NUMBEREDIT 
Renumbers the lines of an EDIT file that are in a specified range. NUMBEREDIT is an 
IOEdit procedure and can be used only with files that have been opened by OPENEDIT 
or OPENEDIT_.
NUMIN 
Converts ASCII characters that represent a number into the signed integer value for that 
number.
error := NUMBEREDIT ( filenum
 ,first
 ,last
 ,[ start ]
 ,[ increment ] );
error, INT returned value
-6 Exhausted valid line numbers.
-10 Unable to complete renumbering; file is unchanged.
filenum, INT:value input
first, INT(32):value input
last, INT(32):value input
start, INT(32):value input
increment, INT(32):value input
next-addr := NUMIN ( ascii-num
 ,signed-result
 ,base
 ,status );
next-addr, INT returned value
ascii-num, STRING:ref:* input
signed-result, INT:ref:1 output
base, INT:value input
status, INT:ref:1 output










