Next: , Previous: , Up: Hemlock Variables   [Contents][Index]


6.1 Variable Names

To the user, a variable name is a case insensitive string. This string is referred to as the string name of the variable. A string name is conventionally composed of words separated by spaces.

In Lisp code a variable name is a symbol. The name of this symbol is created by replacing any spaces in the string name with hyphens. This symbol name is always interned in the Hemlock package and referring to a symbol with the same name in the wrong package is an error.

Variable: *global-variable-names*

This variable holds a string-table of the names of all the global Hemlock variables. The value of each entry is the symbol name of the variable.

Function: current-variable-tables

This function returns a list of variable tables currently established, globally, in the current-buffer, and by the modes of the current-buffer. This list is suitable for use with prompt-for-variable.


Next: Variable Functions, Previous: Hemlock Variables, Up: Hemlock Variables   [Contents][Index]