hexagon logo

Print Command using Variables

Good Morning users.

I have reviewed other posts but cannot seem to get this to work.
I want to take an input variable and use it to save as a filename to save as a file.
I seem to have assigned the variable to the file path ok. A file is created but with nothing in it.
I am writing to a .RTF file and I am using 2012mr2. Any indicators most appreciated.

Virgil

Attached Files
Parents
  • I'm never a fan of assigning variables names like "FILE" and "PATH" - if you were programming in VB (or some other languages), these wouldn't even be allowed as they're reserved keywords. Probably not your issue, the double backslash as indicated by is the way to go, but you never know when it will cause a problem with code working in the background.
Reply
  • I'm never a fan of assigning variables names like "FILE" and "PATH" - if you were programming in VB (or some other languages), these wouldn't even be allowed as they're reserved keywords. Probably not your issue, the double backslash as indicated by is the way to go, but you never know when it will cause a problem with code working in the background.
Children
No Data