Quote:
Originally Posted by TheFluff
You could just have put newlines in the returned string, you know.
|
I also thought so, but in this case I've found no way of writing the multi-line return string in a natural way that doesn't cause Eval() to fail. I've tried with literal "\n", variables by that value, triple quotes etc.
The only other syntax I found that works is
Code:
return("Kr=" + string(Kr) + Chr(10) + "Kg=" + string(Kg) + Chr(10) + "Kb=" + string(Kb))
# or Chr(13)
although that defeats the purpose even further, so to speak.