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
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)
..... ; your code here
(setq i (1+ i))
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.