posted 21 years ago
Is this possible?
Certainly.
Without doing math in the signature?
Well, without doing anything particularly complex. I mean the standard "i++" is a form of math. You can replace it with other statements though, such as:
or
or
The last in particular is probably a bad idea for readability, since it's not immediately obvious what j and k are, or how many times this loop will execute. But it's legal if you want to do something like that...
"I'm not back." - Bill Harding, Twister