HP3000-L Archives

March 2003, Week 2

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:
Tom Brandt <[log in to unmask]>
Reply To:
Tom Brandt <[log in to unmask]>
Date:
Tue, 11 Mar 2003 15:47:47 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (45 lines)
Yeesh. Ignore what I just said. In MPEX, just do

%repeat
<whatever>
%ForFiles IHOCS###

The variable !MPEXCURRENTFILE contains the name of the current file being
looked at.

At 03:36 PM 3/11/2003 -0500, Tom Brandt wrote:
>I can't think of an easy way to do in MPE, but in MPEX you can do this:
>
>%repeat
>
>%  setvar file_name_num rht("!MPEXCURRENTFILE",3)
>%  if numeric(file_name_num) then
>%     <whatever>
>%  endif
>
>%ForFiles IHOCS###
>
>
>At 02:58 PM 3/11/2003 -0500, Brice Yokem wrote:
>>I wanted to know how to check to see if a file name fits the pattern
>>IHOCS###, with ### being three numbers.  Is there a pattern matching
>>function to do this?  I want to do this in MPE, but will use MPEX if
>>I have to.
>
>--------------------------------
>Tom Brandt
>Northtech Systems, Inc.
>130 S. 1st Street, Suite 220
>Ann Arbor, MI 48104-1343
>http://www.northtech.com/

--------------------------------
Tom Brandt
Northtech Systems, Inc.
130 S. 1st Street, Suite 220
Ann Arbor, MI 48104-1343
http://www.northtech.com/

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2