When programming, I typed

IF String.Left(1) = "§" THEN txt$ = "§.."

instead of

IF String.Left(txt$, 1) = "§" THEN txt$ = "§.."

but Gambas2 didn't show a mistake - is String.left(<length>) possible at 
all, I mean without giving the string? The program ran through, it just 
did not react to the condition and so stayed out of the THEN branch.

Rolf

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to