Registered forum members do not see this ad.
I am writing a lisp routine that counts up, but i need the routine to count from "001" not "1", any ideas?
Registered forum members do not see this ad.
Code:(setq i "10") (setq i (cond ((< (atoi i) 10) (strcat "00" i)) ((< (atoi i) 100) (strcat "0" i)) (T i)))
This doesn't take into account for negative numbers. -David
R12 (Dos) - A2K
Bookmarks