Adding this as an addition to a program I hope to finish, its simple enough but oh so slow, about a minute for a full scan.
DelVar Z For(Y,0,62 For(X,0,94 Z+pxl-Test(Y,X->Z End End
Z=Number of active pixels found
You should be able to easily understand the syntax above but if not, the first For( loop is for the Y axis, the second For( loop is for the X axis. The For( loops result in the pxl-Test scanning every pixel on the graph screen and adding 1 to Z every time a black(active) pixel is found.
Please explain any possible optimization.