Link | Database_Exists |
Author | John Burwell |
Category | Database |
Version | 8.x |
License | Public Domain |
Posted | 26 Apr 2006 |
Updated | 26 Apr 2006 |
More by this author... |
Database_Exists accepts one parameter, a -Database string naming a database to find. If the database exists, TRUE is returned. Otherwise, the tag returns FALSE.
If: (Database_Exists: 'elusive_db'); Output: 'The database was found.'; Else; Output: 'The database was not found.'; /If;
Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.
Define_Tag: 'Database_Exists', -Required='Database'; Database_Names; If: (Database_NameItem) == #Database; Return: TRUE; /If; /Database_Names; Return: FALSE; /Define_Tag;
No comments
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft