Subject: | |
From: | |
Reply To: | |
Date: | Thu, 20 Aug 1998 11:57:06 +1200 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
MPE 5.5
I wrote a small command which is catalogued for my users, as follows,
addcat src
setvar hpautocont true
errclear
if finfo("!src",0) = TRUE then
echo Trying to delete catalog !src
setcatalog !src;delete
errclear
echo Trying to append catalog !src
setcatalog !src;append
errclear
else
echo !src does not exist
endif
echo List of current catalogs follows
echo
showcatalog,mgr
*********************************************************
This command (addcat) works fine when run from the comamnd line.
However, if I put a number of these calls into a command file, as
follows,
addcat file1
addcat file2
addcat file3
Only the first call is ever executed (addcat file1). Why would this be?
|
|
|