When I try to run it, I get an error message saying 'Expecting "End Function"' (line 58) highlighting the [256] in Local counts%[256] I turned this into a comment to see if it would work without it, but I just get more error messages. 2 lines down, it says: expecting "Next", and there are many more error messages to come. Might this be something to do with my version of blitz? It seems to not like the lines with things like:
counts[layer]
counts[a]
I tried changing the [s to (s, but that didn't help. Or it could be something to do with the 'count' variable. Is this written for Blitz3D, as I'm using blitz Basic.
counts[layer]
counts[a]
I tried changing the [s to (s, but that didn't help. Or it could be something to do with the 'count' variable. Is this written for Blitz3D, as I'm using blitz Basic.