THE META-HTML LANGUAGE REFERENCE MANUAL

[TOC]

Manual Page Viewer

Name: PACKAGE-VARS

Section: Packages


Synopsis:

    <package-vars &optional [PACKAGE-NAME] &key [STRIP=TRUE]

Description:

    Returns a newline separated list of the fully qualified variable names found in the package named by PACKAGE-NAME, or in the current package if PACKAGE-NAME is not given. 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::BAZ

Edit Pointer
Function Index
Variable Index
Variable Editor


The META-HTML Reference Manual V2.0 Copyright © 1995, 1998, Brian J. Fox
Found a bug? Send mail to bug-manual@metahtml.org