jed-users mailing list

[2003 Date Index] [2003 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: optional arguments


begin  Günter Milde <milde@xxxxxxxxxxxxxxxxxxxx> wrote:
> There is, however a way for optional arguments: use the variable _NARGS,
> that is set to the number of arguments given with the function call.

I've done so.

> Unfortunately, menu_append_item doesnot set _NARGS right, when calling a
> function with the 4th argument as argument. So use with caution.

Must be _NARGS set by hand or is this done by slang?

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2003 date index] [2003 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]