×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.





     /FREE
      For x=1 to %elem(myarray);
        If myarray(x) <> '';
          y = y + 1;
        EndIf;
      EndFor;
     /END-FREE

That wouldn't work with a dynamic array. That'd work with a static array where the "unused" elements are blank -- but it'd be much more efficient to keep track of the number filled in instead of counting them later.


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.