angelwraith Posted March 13, 2010 Share Posted March 13, 2010 i need to clear a formlist of all its contents.. this is what i tried.. freeze every time.. i get that the labels are causing a loop but no idea why the conditionals arent working to bypass them at the right time??!! label 1 set myCount to (ListGetCount SUBsortAdvancedWeapList) if (myCount > -1) ListRemoveNthForm SUBsortAdvancedWeapList myCount set myCount to (myCount - 1) goto 1 endif Link to comment Share on other sites More sharing options...
schlangster Posted March 13, 2010 Share Posted March 13, 2010 misplaced label :) after every jump set myCount to (ListGetCount SUBsortAdvancedWeapList) resets your variable Link to comment Share on other sites More sharing options...
angelwraith Posted March 13, 2010 Author Share Posted March 13, 2010 misplaced label :) after every jump set myCount to (ListGetCount SUBsortAdvancedWeapList) resets your variable omg DUH!!! thank you soo much how in the hell did i miss that??!??! Link to comment Share on other sites More sharing options...
Recommended Posts