Changing "error unknown command"...

Changing "error unknown command"...

Anonymous
Not applicable
213 Views
1 Reply
Message 1 of 2

Changing "error unknown command"...

Anonymous
Not applicable
I've got a partial menu that refers to some routines that another partial
menu loads. If someone unloads the other partial menu, some of the commands
in the first menu wont work. I have to keep these menus seperate! Is there a
way to tell the user to load that menu via message box instead of them
looking at an "error" unkown command??

[inventory block]^C^C_invblk02;

I want to show a message instead of "invblk02" unknown command...

Thanks...
0 Likes
214 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
You could try defining each command in the mnl file to give a warning:

(if (not c:invblk02)
(defun c:invblk02 () (alert "Please load menu XXX before using
command")(princ))
)


"J & L D" wrote in message
news:7B901285F132DA726C114043C860885F@in.WebX.maYIadrTaRb...
> I've got a partial menu that refers to some routines that another partial
> menu loads. If someone unloads the other partial menu, some of the
commands
> in the first menu wont work. I have to keep these menus seperate! Is there
a
> way to tell the user to load that menu via message box instead of them
> looking at an "error" unkown command??
>
> [inventory block]^C^C_invblk02;
>
> I want to show a message instead of "invblk02" unknown command...
>
> Thanks...
>
>
0 Likes