@saitoib wrote:
Hi all.
It's a little late for this, but...
Is it possible to call function c:Beta from within AutoLisp's my function c:Alpha?
Thank you.
Sure it is possible,
Real question is, what is the intention? are you planning to continue where Alpa command left off or right after what the main program finished with its task? It can be a sub rather than a main function, especially if the program requires input from the user or a variable as an argument [ selecion set, string ...]
As an example
(Defun c:Alpha ()
; some functions ;
(setq string (_Alpha&Beta (getstring "\nTell me something")))
; more here ;
)
(Defun c:Beta ()
; some functions ;
(setq string (_Alpha&Beta (getstring "\nTell me something")))
; more here ;
)
(defun _Alpha&Beta (str)
(princ (strcat "\nDo a lot of formating with this ---> " str))
(princ)
)
HTH