| THE META-HTML LANGUAGE REFERENCE MANUAL

| [TOC] |

## Manual Page Viewer

Name: PACKAGE-VARS

Section: Packages

Synopsis:

`<package-vars PACKAGE-NAME [STRIP=TRUE]>`

Description:

Returns a newline separated list of the fully qualified variable names found in the package named by PACKAGE-NAME. When STRIP=TRUE is supplied, the returned variable names have the package prefix stripped off, making them not fully qualified. The names are not returned in any significant order. Because the list is newline separated, the results can easily be assigned to an array variable:

    <set-var foo::bar=baz>
    <set-var foo::baz=bar>
    <set-var names[]=<package-vars foo>>
    <get-var names[1]>

produces:

    FOO::ARRAY

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