tab spacing
-
instead of using spaced to space out data how would using tabs spacing instead using code. If would to replace spacing with tab stops instead.
writeline(2) = filename(0) + " " + "Qty" + " " + FormatCurrency(filename1(0)) + " " + "Total Cost"
-
instead of using spaced to space out data how would using tabs spacing instead using code. If would to replace spacing with tab stops instead.
writeline(2) = filename(0) + " " + "Qty" + " " + FormatCurrency(filename1(0)) + " " + "Total Cost"
when the displaying "device" is tab-capable, it typically interprets a tab as "move to the next position/column number that is a multiple of N" where N is often 8 or 4. So the net effect of a tab character depends on what is present to the left of it, making it not so easy to generate correctly. if all you need is getting some columnar output, maybe
string.PadLeft()
andstring.PadRight()
could fit the bill. :)Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
-
instead of using spaced to space out data how would using tabs spacing instead using code. If would to replace spacing with tab stops instead.
writeline(2) = filename(0) + " " + "Qty" + " " + FormatCurrency(filename1(0)) + " " + "Total Cost"
writeline(2) = filename(0) + vbTab + "Qty" + vbTab + FormatCurrency(filename1(0)) + vbTab + "Total Cost"
David Anton Convert between VB, C#, C++, & Java www.tangiblesoftwaresolutions.com