I thinkCode:while(Height < 30) { if(Button) { Height++ } }
Ive been working on some stuff and would find a function that stopped an if()/elsif() statement when something happens, e.g:
I know it can be done by doing this:Code:if(Button){ Height++ }untill(Height = 30)
But there are some cases where it would be easier for some sort of untill() function.Code:if(Button & Height < 30){ Height++ }
I thinkCode:while(Height < 30) { if(Button) { Height++ } }
Lol, I completely forgot about the while() functions :P Thanks
Bookmarks