[Mono-devel-list] Microsoft.VisualBasic Newline Constants

Jason Bouzane jabouzane at hotmail.com
Wed Jul 21 20:28:10 EDT 2004


(I previously sent a similar message, but I wasn't subscribed from this 
account, and the administrator hasn't yet approved it)

The Microsoft.VisualBasic namespace has some errors with the newline 
constants that have been there for quite some time. I have finally grown 
tired of seeing them and have written a small patch to fix them.

Furthermore, it seems like there are bugs in the InputVBFile and 
BinaryVBFile because they check for only carriage returns to find the end of 
the line. This approach will not work in Unix, and is only partly correct in 
Windows. It also seems to me that the choice of vbCrLf to mean "\r\n" is 
unwise on most platforms.

I'd like any comments on how this should be handled, and I'd be happy to 
write any patches to fix it.

Jason

_________________________________________________________________
Designer Mail isn't just fun to send, it's fun to receive. Use special 
stationery, fonts and colors. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
  Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newline.patch
Type: text/x-patch
Size: 1561 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040721/d3808c95/attachment.bin 


More information about the Mono-devel-list mailing list