Added more PC/SC stdlib and example code. (0.17.10)
This commit is contained in:
parent
aeb6a70248
commit
7842b1b909
4 changed files with 155 additions and 12 deletions
|
|
@ -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!
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue