what i want to do:
In that function i posted, i want to have a bit that repeats while something = something. That will require a do/while. I cant put do/while in the bit under return<<<EOF
Try it yourself
I can put variables though
So i wanted a variable that when it is set, it does the do/while bit, then it assigns the result to the variable. So to get what it returned, all i have to do is type $variable in the code.
I checked, functions dont work in there either.