proc
askuser()
. = input("Please enter the data.")
switch(alert("Continue with this data: [.]?",,"Yes","Back","Cancel"))
if("Cancel")
return null
if("Back")
//This is what I'm asking suggestions on
else return .
This applies not only to input(), but also to html forms, etc. Basically, I want to know what some ideas are for going back and doing old things again in a proc. I've tried goto with strange results. while() seems like it might work, but be weird. I've also though about running the proc from inside the proc, but that doesn't work when it asks for input somewhere in the middle of a lengthy proc.
=$= Big J Money =$=
Depending on the situation, though, a do-while might be better.