Announcement

Collapse
No announcement yet.

Array losing elements

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Array losing elements

    Here i have a simple setup to see if everything is right.
    Click image for larger version

Name:	kako.jpg
Views:	1
Size:	378.5 KB
ID:	1159372
    But it isnĀ“t.
    Click image for larger version

Name:	how.jpg
Views:	1
Size:	1.8 KB
ID:	1159373
    And this is a set up of my array.
    Click image for larger version

Name:	tim1.jpg
Views:	1
Size:	455.6 KB
ID:	1159374
    Can someone help me? I really don`t get it.

    #2
    Well, lets try one thing: Are you totally sure that your "inclicked" events work? Where you add "aleska" in Tim1 Array, use a print string, just to check if it work.

    Other thing that you can try is give manual values to your array and look them and check if your "check code" work too.

    Comment


      #3
      Yep throw a breakpoint on your button clicks so that you can make sure they are actually firing off and then you can just check what the actual elements within "Tim1" are at the time too.

      Comment


        #4
        Thank you for help guys. I have finally realized what was the problem. It was that simple. I did not set default values of these name variables. I tought it was enough to just give them a names. LOL

        Comment

        Working...
        X