Re: Variable Arguments?

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

CChris wrote:
> 
> Defaulted arguments are implemented in Æ (Advanced Euphoria), which needs
> further
> testing before I ever release it. So, obviously, I'm 150% favorable to it.
> 

Default arguments would be just as good.

global function round(sequence nums, integer precision=1)
....
end function

data = round({1.4, 4,3})
data = round({5.48574, 3.43283}, 100)


Was that a difficult change? What is Advanced Euphoria?

--
Jeremy Cowgar
http://jeremy.cowgar.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu