strider42 64 Posted January 31, 2021 This is mainly a comment about unexpected behaviour from the param (and ultimately the params) command. I have this at the start of a function: _houseInf = param [ 1, [], [[]], [0,3] ]; The second parameter I am passing to the function has a value [1,2]. i.e. an array with 2 elements. As the expectedArrayCount is [0,3] I expect it to accept arrays of 0 to 3 element so 2 elements should be fine. However I get an error message: Error 2 elements provided, 0 expected I changed the code to: _houseInf = param [ 1, [], [[]], [1,3] ]; Passing the same value i.e. [1,2] all is now fine. I guess this means you can't check that a passed array is empty. Hope this saves someone some time. S Share this post Link to post Share on other sites