You should be using the 'RHT' function. Your current statement will seem to
work correctly when 'HPMONTH' and 'HPDATE' are less than 10.
Paul Christidis
______________________________ Reply Separator _________________________________
Subject: HPDATE INCORRECT
Author: Johnson Stephen <[log in to unmask]> at CCGATE
Date: 05/11/98 12:47
:SETVAR
GFILE,"CD"+"!HPYEAR"+"![LFT("0!HPMONTH",2)]"+"![LFT("0!HPDATE",2)]"
:SETVAR
GFILE2,"C2"+"!HPYEAR"+"![LFT("0!HPMONTH",2)]"+"![LFT("0!HPDATE",2)]"
:PURGE !GFILE
PURGE CD980501
^
This executed this morning the 11th of May.
Should say CD980511
??????
Stephen Johnson