Login | Sign Up
 





 
AutoLISP Function Detail
Name: repeat

Syntax:
(repeat int expr1 ...)

Description:
Repeats the expression the number of times that is designated by the integer.

Example(s):
(repeat 10
  (if (or (>= cnt 10)(= cnt nil))
      (setq cnt 0)
  )
  (setq cnt (1+ cnt))
  (prompt 
     (strcat "\nHello " (itoa cnt))
  )
)