SamiKalliomaki / eppabasic

A new web based basic language inspired by CoolBasic.
Other
11 stars 3 forks source link

Functions accept multiple arguments with the same name #47

Open expositionrabbit opened 9 years ago

expositionrabbit commented 9 years ago
Function Test(x as Integer, x as String) as Integer
    Print x
End Function

Test(3, "string")

This program runs and prints "string". It should probably fail with an error message.