Code: Select all
$ luajit -e 'print(#{1,2,nil,4})'
4
Code: Select all
$ luajit -e 'print(#{1,2,nil,4})'
4
Do you mean for debugging? You can add a 'name' field.darkfrei wrote: ↑Sun Apr 11, 2021 11:39 amHow I can understand which stete is enabled?pgimeno wrote: ↑Sun Apr 11, 2021 11:04 am I wrote about one way of dealing with states, starting here: https://love2d.org/forums/viewtopic.php ... 26#p194226
Take a look, see if that helps you wrap around your head around it.