Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Tab (^t) in @FILEWRITE's text

May
12,834
163
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.
 
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

Back
Top