IC SunsetThe developerWorks Connections platform will be sunset on December 31, 2019. On January 1, 2020, this forum will no longer be available. More details available on our FAQ.
Topic
  • 1 reply
  • Latest Post - ‏2019-09-03T16:45:20Z by JonParis
OSROMI
OSROMI
37 Posts

Pinned topic Elements of a full array

‏2019-09-03T16:00:41Z | a array elements full of

I HAVE AN ARRAY OF 1000 ELEMENTS AS I CAN KNOW HOW MANY

ELEMENTS I HAVE FULL WITHOUT ENTERING A LOOP

 

 I NEED HELP

Updated on 2019-09-03T16:07:53Z at 2019-09-03T16:07:53Z by OSROMI
  • JonParis
    JonParis
    346 Posts
    ACCEPTED ANSWER

    Re: Elements of a full array

    ‏2019-09-03T16:45:20Z  

    The only answer is to make sure you count them as you load them into the array. Which you should be doing anyway otherwise you risk having the program blow up while attempting to load index 1,001!

    Once you get to 7.4 you could use dynamic arrays and then you don;'t have to worry about it.

  • JonParis
    JonParis
    346 Posts

    Re: Elements of a full array

    ‏2019-09-03T16:45:20Z  

    The only answer is to make sure you count them as you load them into the array. Which you should be doing anyway otherwise you risk having the program blow up while attempting to load index 1,001!

    Once you get to 7.4 you could use dynamic arrays and then you don;'t have to worry about it.