Community
I use the Repeat command with an index, and when it exits, it writes the last index.
I cannot move it to a new line,nor cancel it.
If i insert a (princ "\n") inside the loop it moves it to a new line, but also all the outputs of the loop get extra line spaces
Karol,
1. (repeat) is a function not a command.
2. (repeat) returns the value of the last expression or atom evaluated
3. put (princ) [with out any arguments] after (repeat) for quiet exit to cmd line
(setq i 0)
(repeat 15
..... ; your code here
.....
.....
(setq i (1+ i))
)
(princ)
moshe