[REBOL] Using "repeat" in write/append/lines
From: ml::sproingle::com at: 4-May-2004 14:49
I am adding lines to a text file and it is one of those things that I want to print out
as many asterisks as is listed in a variable to make a simple graph. So here is the
effect I am after:
2pm : ****
3pm : **
4pm : *********
The thing is how do I "print" those asterisks when I am outputting to file. I don't know
what to put in the repeat function.
When trying out this on the console, I would try a command like:
write/append/lines %output.txt repeat i 10 ["*"]
But instead of ********** in the appended line I would get a single *
Can anyone help?
Stuart