'Whatever' is being treated as a local int variable in Philip7's example (I think)
and is not reference the Something field.
Of course, I am going by the code posted which is NOT runnable.
It is SO useful to supply code that can compile and show the problem.
AND it is so useful to use Superstrict.
SuperStrict Type Something Field Whatever: Int Function Create() End Function Function Selected:Int(varInput:String) Whatever = True End Function End Type
and is not reference the Something field.
Of course, I am going by the code posted which is NOT runnable.
It is SO useful to supply code that can compile and show the problem.
AND it is so useful to use Superstrict.