Log In  

foo() -- 3 tokens
foo"" -- 2 tokens

when calling an argument where arguments are not used, note this is the same as passing an empty string, not nil!

you can also call a function and pass a single table using

foo{1,2,3,4}
--which is cheaper than
foo({1,2,3,4})

use with care! =)

P#14558 2015-09-24 09:48 ( Edited 2015-09-24 14:42)

Yup, round brackets counting as two separate tokens is stupid.

P#14564 2015-09-24 10:42 ( Edited 2015-09-24 14:42)

Need a PICO-8 game where you go around an arcade scrounging tokens out of machines. Sort of like the old Brøderbund game Spare Change.

P#14565 2015-09-24 10:42 ( Edited 2015-09-24 14:42)

[Please log in to post a comment]

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-08-20 10:44 | 0.027s | 2097k | Q:19