| THE META-HTML LANGUAGE REFERENCE MANUAL

| [TOC] |

## Manual Page Viewer

Name: VAR-EXISTS

Section: Variables

Synopsis:

`<var-exists VARNAME>`

Description:

`var-exists` checks for the existence of the variable named by VARNAME, and returns `true` if that variable exists.

The existence of a variable has nothing to do with its value -- a variable exists if it has been created with `set-var`, and doesn't exist after it has been unset with `unset-var`.

      <set-var foo=1 bar>
      <var-exists foo>       --> true
      <var-exists bar>       --> true
      <get-var bar>          -->
      <unset-var foo>
      <var-exists foo>       -->

Edit Pointer
Function Index
Variable Index
Variable Editor

The META-HTML Reference Manual V1.4 Copyright © 1995, 1996, Brian J. Fox, 1996, 1997 Universal Access Inc.
Found a bug? Send mail to bug-manual@metahtml.com