Write Delphi array of string

Posted by robert on August 20, 2005

help. I want to write array of string and of float in a textfile align in the left margin the first.
write(f1,format('%10s',[MyArray[i]]), format('%1.2f',[myArray2[i]]));
but a get

abcdefg 1.22
**aabnv 3.12
***alak 6.23
****poo 1.25
kjajkka 3.20
i want to mean blank when using *
and i need write

abcdefg 1.22
aabnv 3.12
alak 6.23
poo 1.25
kjajkka 3.20

if anyone help thanks

Related Articles and Replies