off-topic: Vampire 0.01b! is avalaible in
http://fyberger.tripod.com/fyberger/vampire/vampire.htm
Estimados seguidores del tbdev arroba thebat.dutaint.com
well i have a question, i use a simple algorith to know if a word is
a complete word, for example i search the complete word "lion" in
"animals: lion, cat, dog, mule"
zero step:
"animals: lion, cat, dog" changed to "ANIMALS: LION, CAT, DOG"
"lion" changed to "LION
first step:
"ANIMALS: LION, CAT, DOG"
^^^^
�it the string here? YES
second step
"ANIMALS: LION, CAT, DOG"
^
�is not a letter? YES
third step
"ANIMALS: LION, CAT, DOG"
^
�is not a letter? YES
Well to know if a letter or number i use the next criterium: if a
character ascii number (is bigger than 65 and shorter than 90) or
(is bigger than 48 and shorter than 57) returns true.
Well if you use a non traditional ascii chars (for example � in
spanish or anothers in others languages) can pass it:
"ANIMALES: �ANDU, LEON, PERRO", search for complete word ANDU
"ANIMALES: �ANDU, LEON, PERRO"
^^^^ (founded)
"ANIMALES: �ANDU, LEON, PERRO"
^ (isn't a letter)
"ANIMALES: �ANDU, LEON, PERRO"
^ (isn't a letter)
and WRONG RESULT!
i need a better idea.
--
Se despide,
Task Control
mail: TaskControl at SoftHome dot net
correo: TaskControl arroba SoftHome punto net
Usando:
- Windows 98 4.10.1998
- AVG 6.0 Free Edition
- The Bat! 1.63 Beta/7
- Trillian PRO 1.0 B
________________________________________________
Current version is 1.62 | "Using TBDEV" information:
http://www.silverstones.com/thebat/TBUDLInfo.html