NewLine... where is it?
#1
Posted 04 September 2011 - 08:21 PM
Or perhaps I am missing something?
(Hopefully I am missing someting... )
#2
Posted 04 September 2011 - 09:14 PM
Edit - Chris already replied.I want to write and read text from files. However, doing that is much harder when I can't do a simple thin as writing a NewLine character.
Edited by Nevyn, 04 September 2011 - 09:16 PM.
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#3
Posted 04 September 2011 - 09:14 PM
In Visual Basic, just type "Constants.vbCrLf".I want to write and read text from files. However, doing that is much harder when I can't do a simple thin as writing a NewLine character.
Or perhaps I am missing something?
(Hopefully I am missing someting... )
You can also add the line "Imports Microsoft.VisualBasic.Constants" to the top of your code file...and then just use the shorter "vbCrLf".
I'll see if we can update the project files in the NETMF 4.2 SDK to automatically infer the Constants include.
Chris
- Moskus likes this
#4
Posted 05 September 2011 - 06:38 AM
I figured vbCrLf was long gone...
Thank you! I was even starting to look for the old Chr(10) + Chr(13) option...
#5
Posted 05 September 2011 - 09:00 AM
#6
Posted 05 September 2011 - 09:28 AM
Yes, but that just works for C#...I normally use \r\n escape characters
#7
Posted 05 September 2011 - 04:10 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users