Forums

Is there 'params'?

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

Is there 'params'?

Postby Chasm » Sat Jun 29, 2013 11:23 am

Hi there guys, is there an equivalent to the params keyword? I must be searching in the wrong place, because I didn't manage to find anything.

Thanks for any info
Chasm
 
Posts: 33

Re: Is there 'params'?

Postby kirai84 » Sat Jun 29, 2013 12:09 pm

def sum(a as vari int) as int
sum = 0
for i in a
sum += i
return sum
kirai84
 
Posts: 24

Re: Is there 'params'?

Postby Chasm » Sat Jun 29, 2013 2:04 pm

Awesome, thanks!
Chasm
 
Posts: 33


Return to Discussion

Who is online

Users browsing this forum: No registered users and 27 guests