2
Answers

streamwriter for txt output file

oren turgeman

oren turgeman

5y
501
1
hi all

im using streamwriter to output to text file fixed length

i have:

L="{0,-7}{1,-10}"

and the text with spaces

R="12345 1234567 "

when i run

streamwriter.writeline (L,R)

i get error INDEX ZERO MUST BE GREATER....ERROR

but when i run just block is ok

L="{0,-7}"

and the text with spaces

R="12345 "

Answers (2)