I set the system variable that controls the writing out of CRLF but WriteLn still spits it out. Can anyone give me any insight on this?
I am using an HTTPRequest and a IE object to extract data from a website and write it out to a file. There was a point when the CRLF was not being printed but then I started calling the VBScript functions and now I always see them when I view the file in Notepad.
Any help would be great thanks
WriteLn outputting CRLF
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
It would help to see your code. The following prevents WriteLn from outputting CRLFs (so each write would appear on the same line with no new line characters between them):
Let>WLN_NOCRLF=1
WriteLn>outfile,res,text
If you are still seeing new lines in the output file then you must have CR and/or LF characters in the data you are writing out.
Let>WLN_NOCRLF=1
WriteLn>outfile,res,text
If you are still seeing new lines in the output file then you must have CR and/or LF characters in the data you are writing out.
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?