Hi,
after that code revised,it got solve,but alert can not display
[code]
(setq opt (getstring "\nEnter text style name : ")) ; hit "Esc"
(cond ((= opt "")(setq opt "Standard"))
((= opt '*Cancel*)(alert "\nYou just cancel it")))
[/code]
"Adesu" wrote in message
news:5244097@discussion.autodesk.com...
Hi Alls,
I just attempt to use "Esc" button,it's not error function,I want to know
how Esc work,look like this code,gut it failed
[code]
(setq opt (getstring "\nEnter text style name : ")) ; hit "Esc"
(cond ((= opt "")(setq opt "Standard"))
((= opt 'error: Function cancelled)(alert "\nYou just cancel it")))
[/code]