Jump to content

Help me to understand concept of lisp languge at this qustion ?


hosyn

Recommended Posts

How i can bundle two function A1 ,A2 command in lisp that when running A1 command after finish the a command automatically run A2 ??

(that A1 , A2 dont have any argoman or variable when defun them)o:)

Link to comment
Share on other sites

This?

(defun C:A1 ( / var... ) ; or ( / var... A2 etc.. ) to localize

(defun C:A2 ( / var...)
;....code of A2 here
) ;end of defun A2

;or
(defun etc ( / var)
;...code of etc here
) ;end of defun etc

;.....code of A1 here

(C:A2) ;to call A2

(etc) ;to call etc

) ;end of defun A1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...