Jack
04-30-2002, 08:39 AM
Dim HoldArray(Beg To End) as double
In fortran
Write()(HoldArray(j),j=Beg,End)
In C/C++
For(j=Beg;j<=End;fprintf(~~~;%d,HoldArray(j++)));
How do I do this in VB using the PRINT statement?
The best I could do was this
Dim HoldLine As String
HoldLine = ""
For j = Beg To End
HoldLine = HoldLine & HoldArray(j) & " "
Next j
Print #1, HoldLine
There's gotta be a better way. I also found it interesting that this worked w/o having to convert HoldArray(j) into a string.
Thanks for your Help.
F**k Gates.
In fortran
Write()(HoldArray(j),j=Beg,End)
In C/C++
For(j=Beg;j<=End;fprintf(~~~;%d,HoldArray(j++)));
How do I do this in VB using the PRINT statement?
The best I could do was this
Dim HoldLine As String
HoldLine = ""
For j = Beg To End
HoldLine = HoldLine & HoldArray(j) & " "
Next j
Print #1, HoldLine
There's gotta be a better way. I also found it interesting that this worked w/o having to convert HoldArray(j) into a string.
Thanks for your Help.
F**k Gates.