blank string
blank string
(OP)
Hi all!
How to add blank string into output code?
as far i know in post builder there is no such MOM func. as blank or empty string, is there?
example
now:
%%O01
%T01
need to be:
%%O01
%T01
Thanks
How to add blank string into output code?
as far i know in post builder there is no such MOM func. as blank or empty string, is there?
example
now:
%%O01
%T01
need to be:
%%O01
%T01
Thanks





RE: blank string
RE: blank string
RE: blank string
RE: blank string
mb to try "/n". (this is new line in tcl, found in google) but i don't know how to exactly use it and even do not know if pb supports this func.
RE: blank string
Pretty good site for tcl below also you could join in on the Siemens site as they have a pretty active cam forum.
http://www.tcl.tk/
http:
RE: blank string
thanks for so quick response :)
RE: blank string
RE: blank string
RE: blank string
RE: blank string
RE: blank string
and no success...
RE: blank string
RE: blank string
RE: blank string
set $anyVar ""
and try to make forced output of it.
RE: blank string
RE: blank string
MOM_output_literal "\n" #adds 2 empty lines
\a
Audible alert (bell) (0x7).
\b
Backspace (0x8).
\f
Form feed (0xc).
\n
Newline (0xa).
\r
Carriage-return (0xd).
\t
Tab (0x9).
\v
Vertical tab (0xb).
\<newline>whiteSpace
A single space character replaces the backslash, newline, and all spaces and tabs after the newline. This backslash sequence is unique in that it is replaced in a separate pre-pass before the command is actually parsed. This means that it will be replaced even when it occurs between braces, and the resulting space will be treated as a word separator if it is not in braces or quotes.
\\
Backslash ("\").
\ooo
The digits ooo (one, two, or three of them) give an eight-bit octal value for the Unicode character that will be inserted. The upper bits of the Unicode character will be 0.
\xhh
The hexadecimal digits hh give an eight-bit hexadecimal value for the Unicode character that will be inserted. Any number of hexadecimal digits may be present; however, all but the last two are ignored (the result is always a one-byte quantity). The upper bits of the Unicode character will be 0.
\uhhhh
The hexadecimal digits hhhh (one, two, three, or four of them) give a sixteen-bit hexadecimal value for the Unicode character that will be inserted.
Backslash substitution is not performed on words enclosed in braces, except for backslash-newline as described above.
(Google)
RE: blank string