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 *
|