From what I can see there is no script equivalent of @Newline. Before you say Chr(10), think again, because this is not OS independent. From what I can see this IS the new line character for windows, but what if you are running script on a Unix server? My question is, is there a way to specify a new line in script which will work on any OS? Worst case, maybe I could use LS2J to call a java method, but I am looking for a better solution.
Subject: New Line
when working with Rich Text items, you have .addnewline(quantity)
Subject: RE: New Line
Yes, unfortunately I am just dealing with a String in this case.
Subject: RE: New Line
The question is, what are you doing with the string that you think it matters what OS you’re using?If you’re writing text to a file, the Print # statement should insert the appropriate line breaks for the operating system.
If you’re generating an email or other Notes data, the constant {
} will work on all systems.
If you have some other use in mind, please be specific about what it is.
Subject: RE: New Line
Chr(10) is originally the Unix newline, but Windows uses it too, AFAIK only MS-DOS and Notepad.exe uses the wierd chr(13)+chr(10) newline combo anymore - all professional Windows apps like Lotus Notes, Winword, UltraEdit, PFE, etc can handle the single chr(10) newline.