To download this library for your Linux/Mac installation, enter this on your command line:
Emulator users, in the BYOND pager go to File | Open Location
and enter this URL:
|Date added: ||Nov 22 2003|
|Last updated: ||Jul 29 2009|
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 // Display the first definition of the first entry.
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.
Copyright © 2016 BYOND Software.
All rights reserved.