Message 1 of 11
Visual LISP compiler drops function symbol that was called from an ACTION_TILE action string
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The Autodesk Help article "About Compiler Optimizing Conditions (Visual LISP IDE)" says:
"The compiler does not drop the symbol for a function definition if the ... function was called from an ACTION_TILE action string."
But the compiler drops the function HCNM_EB:SAVE_EDIT_BOX that is called in the following code at line 6047 of the devtgh/cnm.lsp file at https://github.com/hawstom/cnm:
(FOREACH
ATTRIBUTE HCNM_EB:ATTRIBUTE_LIST
(SET_TILE (STRCAT "Edit" (CAR ATTRIBUTE)) (CADR ATTRIBUTE))
(ACTION_TILE
(STRCAT "Edit" (CAR ATTRIBUTE))
(STRCAT
"(HCNM_EB:SAVE_EDIT_BOX \""
(CAR ATTRIBUTE)
"\" $value)"
)
)
)
Can anybody shed light on this behavior including any general discussion about Visual LISP compiler Build Options (standard vs. optimize, link mode, localize variables, safe optimize)?