jchambers4 Posted February 25, 2004 Posted February 25, 2004 I simply want to add white space at the beginning of a file with the following command: FileAppend, This is the output to the file.....,Filename.DAT However, what happens is the white space at the beginning of the line get stripted. How can I fix this?
ezzetabi Posted February 25, 2004 Posted February 25, 2004 Can this help? (untested) FileAppend,# This is the output to the file.....,Filename.DAT
ezzetabi Posted February 25, 2004 Posted February 25, 2004 (edited) TESTED! It works The # is a special char that is no sent, but it delineate the beginning of the command btw, what is the meaning or the larry post?!? Edited February 25, 2004 by ezzetabi
Beastmaster Posted February 25, 2004 Posted February 25, 2004 Nice workaround! To add a space/invisible character in an open document you could use {ASCII 160} = ALT+NUM+160 Send, {ASCII 160} Usefull for (invisible) setup username registration
jchambers4 Posted February 27, 2004 Author Posted February 27, 2004 OK, I tried both methods outlined with the: FILEAPPEND command and both methods outlined above failed for me. ALT-NUM-160 produces a strange character and The # method puts a # in the output datastream to the file. I think what Larry was saying is good luck. There is no way to do this. Jack
Bartokv Posted February 27, 2004 Posted February 27, 2004 Hmm.... Try 255, it's the ASCII standard whitespace character.
Valik Posted February 27, 2004 Posted February 27, 2004 Hmm.... Try 255, it's the ASCII standard whitespace character.No it isn't, Hex 20 (Dec 32) is the space character.
Bartokv Posted February 27, 2004 Posted February 27, 2004 No it isn't, Hex 20 (Dec 32) is the space character.I was describing the ASCII "whitespace" Hex FF (Dec 255), not the ASCII "space" Hex 20 (Dec 32).The "whitespace" is a non-printable character that is often used in situations where a standard "space" character would cause undesirable effects due to implied translations. The ASCII standard code for the "whitespace" character within the English MS-DOS environment is 255.
Recommended Posts