Hi!
How can I insert theese two "characters" in a text file?
Dec Col/Row Oct Hex Name and Description
11 00/11 13 0B VT (Ctrl-K) VERTICAL TAB
28 01/12 34 1C FS (Ctrl-\) FILE SEPARATOR
Thanks!
Inserting special characters in text file.
Moderators: JRL, Dorian (MJT support)
-
- Pro Scripter
- Posts: 149
- Joined: Tue Mar 23, 2004 9:11 pm
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Inserting special characters in text file.
Hi,
Do this to get those characters into variables:
VBEval>Chr(11),strCtrlK
VBEval>Chr(28),strCtrlSlash
Then you can write them out:
WriteLn>filename,result,bla bla %strCtrlK% bla bla %strCtrlSlash% etc etc
Do this to get those characters into variables:
VBEval>Chr(11),strCtrlK
VBEval>Chr(28),strCtrlSlash
Then you can write them out:
WriteLn>filename,result,bla bla %strCtrlK% bla bla %strCtrlSlash% etc etc
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?