[NEWBIE] Using Nemerle for ExcelDNA rather than C# or VB
42 views
Skip to first unread message
Bruce Axtens
unread,
Dec 16, 2012, 10:32:10 PM12/16/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nemer...@googlegroups.com
The reason I'm even asking is that I have some Excel functions that have allow for a variable number of parameters. With VB and C#, I have to be explicit about the number of parameters when declaring the function. Does Nemerle also make the same demand or can one define a function and pull in the parameters as needed. That is, assuming Perl,
my $arg = shift;
or, assuming Forth,
+ ( the implication here being that there were two items on the stack, they've been added, and now the result is left on the stack )
How flexible is Nemerle?
Kind regards,
Bruce.
catbert
unread,
Dec 17, 2012, 5:18:17 AM12/17/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nemer...@googlegroups.com
I am not sure about what are you asking about. In both C# and Nemerle (as well as in VB.NET), you could declare a vararg-function, which takes any number of parameters:
MyFun(params x : array[object]) : void
Понеділок, 17 грудня 2012 р. 05:32:10 UTC+2 користувач Bruce Axtens написав: