Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | misc |
symbol | Symbol of interest | ||
Allowed: | String | ||
name | The name of the type of server | ||
Allowed: | String | ||
server | The server tool | ||
Allowed: | Glish closure tool |
This function can be used to see whether an AIPS++ server tool exists or not. It relies upon the Glish tool having the function type which returns the name of the type of server. For example, ``quanta'' for a quanta server, or ``regionmanager'' for a regionmanager server. All of the AIPS++ servers (or tools) should have this function.
- include 'quanta,g' - include 'serverexists.g' - serverexists('dq', 'quanta', dq); T - symbol_delete('dq'); - serverexists('dq', 'quanta', dq); F