06-10-2016 10:16 AM
Hello,
I have a script that is not looping through an object as I expect. It is likely something easy that I am overlooking...
Without posting exact code it is something like this:
For Loop1
For Loop2
Call Object
Next
Next
Object
Sub 1
Sub 2...
End
The nested For Loop2 only cycles one time and after the object code is executed the script finishes without error.
Any thoughts?
06-10-2016 02:58 PM
You posted to the Diadem Idea Exchange which is for ideas to improve Diadem. Your message sounds like an ordinary question asking for help.
I've asked the moderator to move it to the appropriate message board.
06-13-2016 11:27 AM
Option Explicit dim k : k = 0 dim obj : set obj = new CAbc dim i : for i = 1 to 3 dim j : for j = 1 to 5 k = k + 1 call obj.def() Next Next MsgBox k class CAbc sub def() k = k + 1 end sub end class
If your Code looks like this it seems to work like expected.