cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community email address has changed to community-mailer@ptc.com. Learn more.

Display filename if INPUT breaks with error

Display filename if INPUT breaks with error

 

If the file is missing which INPUT should load the meaningless error message appears: <Enter 'input_filename'> or <Dateiname fÏr input eingeben.>

It's often hard to find the file in which the INPUT function is called. In most cases ME10 must be restarted with TRACEing to file.

To display the filename of INPUT-file which cannot be load by INPUT will save much time programmers must use for searching and tracing macros.

 

PS: This should have been integrated in ME10 Version 4.31

2 Comments
MaxKublin
1-Newbie

Finding the "bad" INPUT is pretty simple:

a) Trace the macro code:
TRACE DEL_OLD "C:/TEMP/me10.txt"

Put this into a file which is loaded (=input) before the bad input.

b)Use prompt list command:

PROMPT_LIST DEL_OLD "C:/TEMP/pl.txt"

PTCModerator
Emeritus
Status changed to: Archived