var/list/Definitions = V_Search("Dog") // Returns a list full of definitions if(!Definitions["Not found"]) // Checks to see if it found an entry src << "First definition found for 'dog':" src << Definitions[1] // Display the first definition of the first entry. else src << Definitions["Not found"] // This displays the default 'did not find entry' message. You could also just do; src << "Not found." src << Definitions["Did you mean?"] // This displays the 'Did you mean..?' entry. It gives a suggestion of similar words. |
ID:131137
Nov 23 2003, 12:00 am
|
|
Example:
| |

