Re: Is this possible?

new topic     » goto parent     » topic index » view thread      » older message » newer message
CChris said...
mic said...

You'd probably want to look it up anyway to see what KINDS of arguments it takes. But it's still a good idea I guess.

Can do, but cannot commit to svn these days sad

CChris

Hmm, not as clear cut as I thought.

The first non defaulted argument # is known, as well as the total number.

However, you could always code

function foo(integer n=0,integer p,integer q=2,integer r) 

I'm not sure what the error message should be then. Perhaps recording the # of the last non defaulted parameter as well would be enough, not too difficult.

CChris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu