[Gambas-user] Compiler does not complain?

Doriano Blengino doriano.blengino at ...1909...
Sat Oct 25 21:00:12 CEST 2008


If I write:

    IF gvPlugins[i, 0] = "" THEN
    ...

where gvPlugins is a GridView, the compiler accept what seems to me an 
error.
The interpreter then executes without errors, and the test is always true.
What had to be written should:

    IF gvPlugins[i, 0].text = "" THEN
    ...

I think the compiler should catch this nonsense - or am I missing something?

Regards.






More information about the User mailing list