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