Newbie: Write line to file question

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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


.



Relevant Pages

  • Re: Using foreach loop to create radiobutton menu
    ... Your foreach loop is not the problem, the problem is how you define the -command. ... The only possible thing the interpreter can do is substitute the current value of range, which is likely the last value once your loop exited. ... One choice is double quotes. ... The double quotes means that $range gets expanded while in the loop, long before the puts command actually runs. ...
    (comp.lang.tcl)
  • Re: [opensuse] bash - why doesnt the tldp bash beginners guide for loop example work?
    ... I have run into a bash problem with a simple for loop I don't ... As you guessed, the quotes around ... Using some HTML files in one of my ... David Bolt ...
    (SuSE)
  • Re: Web browser question
    ... it seems that you are working to get stock quotes from ... the Yahoo finance. ... ' Loop until the page is fully loaded ... Do Until .ReadyState = 4 ...
    (microsoft.public.excel.programming)
  • Re: For vs. For Each
    ... wonder given quotes like: ... "...Even the slightest inefficiency inside a loop is magnified many ... for repetitive property access inside your loops, using foreach instead ... of the garbage collector and JIT compilier. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: List Variable becomes undefined inexplicably
    ... I was able to reproduce it with the test script below. ... subroutine A, iterated over in a foreach loop in subroutine B, is then ... Useless use of quotes ...
    (comp.lang.perl.misc)