Lisp format a character a number of times
It’s nice to see so many solutions: ~A, ~<, and ~{ so far. The ~@{ iteration construct provides a concise solution: (format nil “~v@{~A~:*~}” 3 #\*)
It’s nice to see so many solutions: ~A, ~<, and ~{ so far. The ~@{ iteration construct provides a concise solution: (format nil “~v@{~A~:*~}” 3 #\*)
The syntax you are trying to use is non-standard, it works only in some compilers and I discourage using it. Also, forget the FORMAT() statements for good, they are obsolete. You can get your own number inside the format string when you construct it yourself from several parts character(80) :: form form = ‘( (i10,1x))’ … Read more