Tab (^t) in @FILEWRITE's text

May 20, 2008
12,036
127
Syracuse, NY, USA
I'm using %@filewrite[%hfile,%[count]^t%@eval[%count - %OKcount]] in a BTM and it's giving, for example, 220^t51. Is that WAD? It's no big deal; @CHAR[9] works.
 
May 23, 2010
62
1
Seattle
Code:
echo %[count]^t%@eval[%count - %OKcount]            works fine
set str=%[count]^t%@eval[%count - %OKcount]         workaround
@filewrite[%output_handle%,%str]                    workaround

Since the documentation does not mention any cases in which the escape character is not interpreted as an escape character, I would hope that it would work as you intended with filewrite.
 

Similar threads