mob/proc/Rest
while(tag)
if()//the resting stuff
//nice bit of + and stuff
//now how do i loop back to tag
else
//oooo lets break it with a nice return
return
ID:272979
![]() Jul 11 2009, 5:44 am
|
|
So im creating a resting verb I remember how the while proc works, but i forgot how to loop it. So example code below
|
Wouldn't you want "while(tag && the resting stuff)"?
While procs automatically loop back. That's why it's called a loop. The continue keyword is for forgetting the rest of the loop stuff and manually starting the loop over. //Anatomy of while(), and pretty much for() too: |
continue