SELECT and functions

Previous topic - Next topic

MrTAToad

I've had this a few times in the past, but its been forgotten up until now.

With this :

Code (glbasic) Select
SELECT afunction(value) ...

I have found that, despite returning a valid and explicit value for the CASE values, none of them are actually called.

However, doing :

Code (glbasic) Select
b1%=afunction(value)
SELECT b1%


solves the problem...

afunction returns an integer.


Kitty Hello

Oh dear. Filed a bug.