XANSYS Message: 42275 [
Go back to message list
]
No rating yet
Rate item:
10 (Good)
5
0
-5
-10 (Bad)
Subject: Re: calling a file through current directory
Author: Simon English
Date: 2002-09-29 04:20:00
Trying using forced substitution by enclosing the parameter name with
percent signs (%):
*dim,A,,4
*do,i,1,4
A(i)=i
*enddo
*do,k,1,4
/copy,input_%A(k)%,inp,,output_%A(k)%,out
*enddo
Regards,
Simon English
Principal Engineer
Inbis Ltd (Sunderland)
Tel 0191 516 7956
Fax 0191 516 7979
> -----Original Message-----
> From: somesh [SMTP:someshjg@i...]
> Sent: 29-Sep-2002 06:55
> To: xansys@yahoogroups.com
> Subject: [xansys] calling a file through current directory
> Dear Users
> I am doing a macro which calls some files through current directory
> A simple example
> *dim,A,,4
> *do,i,1,4
> A(i)=i
> *enddo
> *do,k,1,4
> /copy,input_A(k),inp,,output_A(k),out
> *enddo
> I am getting the error as dimension set is not available for input_A(k)
> I have tried by making A vector as character vector. But the same error
> Can anybody help me in this regard
> Regards
> Somesh
> IEL India
Posts possibly associated with message #42275
Author
Date
Score
42274
calling a file through current directory
Somesh J. Ghunakikar
2002/09/29
42275
Re: calling a file through current directory
Simon English
2002/09/29