Re: Bug in 4.0.5? EUI, no warning for unused procedures/functions
- Posted by jimcbrown (admin) Feb 13, 2013
- 1389 views
SDPringle said...
petelomax said...
sprintf("%d",{public2})
will, btw, achieve diddly squat. It will create a string (such as "9") and then just throw it away, without displaying it or anything.
Pete
Yes, in the pre-4.0 days that would be an error. It's a design decision that was made. I don't like it either but it's not a bug.
Shawn
I preferred using a tilde to mark it, to avoid having this happen by accident and also as a visual hook to make it more obvious that there was a return value that would be ignored.