Lisp etiquette

Lisp etiquette

Anonymous
Not applicable
373 Views
1 Reply
Message 1 of 2

Lisp etiquette

Anonymous
Not applicable

Please can someone tell me why _. is used in front of a function call in lisp?

 

What difference does it make if _. is omitted?

 

(command "_.AUTOCAD_FUNCTION_CALL_HERE")

Not:

(command "AUTOCAD_FUNCTION_CALL_HERE")

 

 

0 Likes
Accepted solutions (1)
374 Views
1 Reply
Reply (1)
Message 2 of 2

hmsilva
Mentor
Mentor
Accepted solution

@Anonymous wrote:

Please can someone tell me why _. is used in front of a function call in lisp?

 

What difference does it make if _. is omitted?

 

(command "_.AUTOCAD_FUNCTION_CALL_HERE")

Not:

(command "AUTOCAD_FUNCTION_CALL_HERE")

 

 


Hi sbanister,

 

The '.' is to call the command even if it was 'undefined' and the '_' is to  call the original command in English...

 

Hope this helps,
Henrique

EESignature

0 Likes