Closed Godmil closed 1 year ago
The pico8 function count(table,value) which is supposed to return the number of values found in the table instead returns the size of the table. This code:
count(table,value)
count({"one","two","three"}, "ten") count({"one","two","three"}, "two")
on pico8 returns 0,1 but in fake08 it returns 3,3
Tested on OnionOS v4.2.0 beta on Miyoo Mini+
This is fixed via PR #204 . Thank you again!
The pico8 function
count(table,value)
which is supposed to return the number of values found in the table instead returns the size of the table. This code:on pico8 returns 0,1 but in fake08 it returns 3,3
Tested on OnionOS v4.2.0 beta on Miyoo Mini+