[Gambas-user] Isn't this a clear error?
Rolf-Werner Eilert
eilert-sprachen at ...221...
Thu Mar 12 11:33:31 CET 2009
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
More information about the User
mailing list