I am trying to use the warn statement to check if a file has been opened successfully. If it wasn't, I wish to issue a warning AND then set the value of another variable. I can issue the warning with no problem, but I need to be able to set a variable only if the open statement wasn't successfull (i.e. the warning message was displayed). After using "| warn", how do I run another command or commands (such at setting a variable value as in the the following code snippet: