[Gambas-user] (no subject)

vlahonick vlahonick tsopanotragi at ...67...
Thu Apr 2 04:01:41 CEST 2009


thanks to all of you (special thanks to dominique tha solved the previous problem) the project going on :D
but now another problem appears...
THE DIFTHONGS and the finishing greek sigma...
the code below is about the sigma but in greek is one more "ς" tha goes only if a word ENDS with SIGMA (Σ/σ/ς)
 
IF sInChar = "σ" THEN sRetChar = "s"

so how i can write tha if the last letter in the textbox1.text is "s" that textbox2.text have to write "ς"  ???

this is the first problem of the part...

and now how i can write that if in the textbox1.text the user writes "ου" it should appear "u" ????
because is different if the tou letters "ο" and "υ" are the one after other and other if they dont.
example : ουγκάντα->ugada , πουλημένος->pulimenos | υψηλότατος->ipsolotatos
so u see tha in ugada and pulimenos example if the two leters (ο,υ) are one after other the pronoced like "u"
so how i can do that?
because i already had write :

IF sInChar = "υ" THEN sRetChar = "i"
IF sInChar = "ο" THEN sRetChar = "o"

so at this moment the program understand them different

example :

if i wrote ουγκάντα program gives oigada but the correct is UGADA

(ugada is how Uganda(the country) is pronaunced in greek)

so now somehow i have to write that if these two letter are together (one after other|ο,υ|) they should give the
result "u".
of course doesnt matter if a word stars or ends or if these two letters are in the middle of the word.
their result is always "u".

ANY HELP???

ty in advance...

VLAHONICK (www.vlahonick.freehost.gr) :D

_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx


More information about the User mailing list