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

Jambunathan Jambunathan kjambunathan at novell.com
Thu Jul 22 00:45:34 EDT 2004


Jason

Good to know that you have been experimenting with MSVB namespace.

> The Microsoft.VisualBasic namespace has some errors with the newline 
> constants that have been there for quite some time. 

I have fixed the definitions. You should be able to pull the changes from cvs
right now. 

http://lists.ximian.com/archives/public/mono-cvs-list/2004-July/033847.html

Btw, a good catch ...

> 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. 

The MSVBFilesystem was squeezed in at the literally the last minute before the tree
was frozen for 1.0 release. So expect to see issues with current builds, but all 
this will be addressed with the 1.2 release. mbas and MSVB namespace will have 
mainstream ready by then.

If you encounter any nagging issues please raise them in the forum and rest assured
that it will be addressed at the earliest. Better still open bugs in Bugzilla and
it will never get lost in the noise in the discussion lists. Make sure that you
add a test case to reproduce the bug you are seeing.


Regards,
Jambunathan K.

>>> "Jason Bouzane" <jabouzane at hotmail.com> 7/22/2004 5:58:10 AM >>>
(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*.




More information about the Mono-devel-list mailing list