monkmasterflex
New member
- Joined
- Jun 5, 2003
- Messages
- 2
if i mod 5 = 0 then
output & = vbCrlf
end if
next
what the hell is vbCrlf ?
output & = vbCrlf
end if
next
what the hell is vbCrlf ?
Also, this library provides access to common environment constants that VB developers have learned to use like vbCrLf. You create the same constants by using either the System.Environment.Newline method or System.Convert.ToChar(13) & System.Convert.ToChar(10). Constants like vbCrLf map directly to underlying framework calls and should have no impact on the performance. In the case of vbCrLf, the compiler optimises it to a single string; if it is a variable, it maps directly to \r\n, which translates to a carriage return. Using statements that map directly to underlying framework calls like msgbox, which maps directly to the .NET Framework MessageBox, have little or no effect on performance since the underlying IL will be basically the same.