1
0
Fork 0
forked from fun/fun

Added more PC/SC stdlib and example code. (0.17.10)

This commit is contained in:
Johannes Findeisen 2025-10-03 21:35:28 +02:00
commit 7842b1b909
4 changed files with 155 additions and 12 deletions

View file

@ -80,6 +80,12 @@ print("counter inc -> " + to_string(c.inc())) // 2
print("counter add(5) -> " + to_string(c.add(5))) // 7
print("counter current value = " + to_string(c["value"]))
class HaveFun()
fun have_fun(this)
print("Have Fun!")
HaveFun().have_fun()
/* Expected output:
typeof(Point) = Class
typeof(p) = Point(10, -2)
@ -92,4 +98,5 @@ counter inc -> 1
counter inc -> 2
counter add(5) -> 7
counter current value = 7
Have Fun!
*/