Hello all!!!

How i can make my program to understand when i write "c" is different from "cl" 
?

EXAMPLE

if textbox1.text="c" then
textbox1.text="1"
else
if textbox1.text="cl" then
textbox1.text="2"
end if
end if

The problem is that when i am trying to write "cl" the result i get is
"1l" and this because the program doesnt understand that i want to
the result "1" ONLY if i write "c" and the result "2" when i write both letters.

I tried to fixed it with the Len argument but i didnt make it.

Any ideas how i can do that with the select case or somehow?

Of course it will be fixed easy if instead of "cl" i put "Cl" but
in the program i want to create this is not an option because
i will use more elements starting with the "c" latter and i cant
obligate the user to have many instructions how to use the
program.For example to say to the user if u want a correct
result wirte c but if u want to write cl write Cl or if u want to
write cs write sc.

Thanks u all in advance!!! :D
Please for ANY IDEAS contact me at tsopanotr...@hotmail.com :D

regards vlahonick

_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to