Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: AUZEROF

AUZEROF.m

Go to the documentation of this file.
AUZEROF ;ROUTINE TO PUT LEADING ZEROS ON A NUMERIC NUMBER FROM FILEMAN GLOBAL [ 05/15/86  4:21 PM ]
 ;RPMS/CMB RFD
 ;SET VARIABLE AUZX TO $P OF GLOBAL ENTRY
 ;SET VARIABLE AUZY TO THE LENGTH RECEIVING FIELD, ZERO FILLED
AUZERO1 Q:$D(AUZX)=0
 S AUZW=$L(AUZY)-$L(AUZX)
 S AUZX=$E(AUZY,1,AUZW)_AUZX
 K AUZW
 Q