Added basic class support.
This commit is contained in:
parent
228c2a7a5b
commit
25fe9ad610
3 changed files with 287 additions and 3 deletions
6
play.fun
6
play.fun
|
|
@ -30,9 +30,9 @@ n = 100
|
|||
print(n)
|
||||
print("Typeof n: " + typeof(n))
|
||||
|
||||
fun n()
|
||||
print("n()")
|
||||
n()
|
||||
fun n(num)
|
||||
print("n(" + to_string(num) + ")")
|
||||
n(42)
|
||||
// Typeof n MUST be of type Function here... Not Sint64.
|
||||
print("Typeof n: " + typeof(n))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue