HP3000-L Archives

August 1998, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ian Collins <[log in to unmask]>
Reply To:
Ian Collins <[log in to unmask]>
Date:
Thu, 20 Aug 1998 11:57:06 +1200
Content-Type:
text/plain
Parts/Attachments:
text/plain (48 lines)
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?

ATOM RSS1 RSS2