Any suggestions as to how to embed at a carriage return/line feed in the string output of a script?
Something like this:
s:= 'SET_VAR DROP_FILENAME "C:Hollyhockspatchesmake_tr_selector_button_top.pat"' +<CR/LF> +
'SET_VAR DROP_SHORT_FILENAME "make_tr_selector_button";
I've tried adding #13#10 between the two string segments but only the first part of the string is recognised by hh.
Thanks!
How to embed a carriagle return/line feed in a scripted output string?
Did you use +, e.g.,
str := 'Newline' + #13 + #10
I haven't tried this, but it'd be the first thing I'd try...
str := 'Newline' + #13 + #10
I haven't tried this, but it'd be the first thing I'd try...
Address the process rather than the outcome. Then, the outcome becomes more likely. - Fripp
Thanks Shawn. Not sure if I tried putting a "+" between the hash signs. I'll give it a try.
Regards,
Scott
Scott
A quick test using either of the following work:
trace ('line1'+#13+#10+'line2');
trace ('line1'+#13#10+'line2');
Maybe it depends where you're using it?
trace ('line1'+#13+#10+'line2');
trace ('line1'+#13#10+'line2');
Maybe it depends where you're using it?
Address the process rather than the outcome. Then, the outcome becomes more likely. - Fripp
Who is online
Users browsing this forum: No registered users and 22 guests
