Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ' Gambas module file
- Private Function getSum(...) As Float
- Dim yukiParam As Float
- Dim yukiSum As Float
- For Each yukiParam In Param.All
- yukiSum += yukiParam
- Next
- Return yukiSum
- End
- Public Sub Main()
- Debug getSum(1, 2, 3, 4, 5)
- Debug getSum(1.2, 3.14)
- End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement