|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Newbie: Write line to file questionI have the following line: write #fileNum, Data(i).myDate & "," & Data(i).value in a loop etc. nothing special. But I get: "12/29/1980,1.0653" which is fine, but i dont want the quotes (") !!! why does VB add the quotes and how can i remove them? I want to store it as: #12/29/1980#,1.0653. Since then i want to make sure it is read as a date and a long . TIA -steve "smith" <jsm***@yahoo.ca> wrote in message Read the help for "write", "print" and "put"news:c9W4f.19614$GH1.172354@news20.bellglobal.com > Hi, > > I have the following line: > > write #fileNum, Data(i).myDate & "," & Data(i).value -- Reply to the group so all can participate VB.Net: "Fool me once..." use Print instead of Write.
AGP Show quoteHide quote "smith" <jsm***@yahoo.ca> wrote in message news:c9W4f.19614$GH1.172354@news20.bellglobal.com... > Hi, > > I have the following line: > > write #fileNum, Data(i).myDate & "," & Data(i).value > > in a loop etc. nothing special. > But I get: > > "12/29/1980,1.0653" > > which is fine, but i dont want the quotes (") !!! why does VB add the quotes > and how can i remove them? > > I want to store it as: #12/29/1980#,1.0653. > > Since then i want to make sure it is read as a date and a long . > > TIA > -steve > > |
|||||||||||||||||||||||