[Gambas-user] InStr and gb.Case

Benoît Minisini gambas at ...1...
Mon Apr 16 18:38:30 CEST 2012


Le 16/04/2012 18:30, Jussi Lahtinen a écrit :
> http://gambasdoc.org/help/lang/instr?v3
>
> With this:
> If InStr(sTmp, "test",, gb.Case) = 0 Then
>
> I get error " Unexpected ','. ", argument is optional so I don't expect
> this.
>
>
> With this:
> If InStr(sTmp, "test", 0, gb.Case) = 0 Then
>
> I get error " Unknown symbol 'Case' in class 'gb'. ", it doesn't seem to
> exist in Gambas 3, but how I then do case-insensitive comparison?
>
>
> Jussi

Documentation fixed in the wiki! :-)

-- 
Benoît Minisini




More information about the User mailing list