| THE META-HTML LANGUAGE REFERENCE MANUAL

| [TOC] |

## Manual Page Viewer

Name: DATABASE-SAVE-PACKAGE

Section: Database Commands

Synopsis:

`<database-save-package DBVAR KEY PACKAGE [STRIP=TRUE]>`

Description:

Save the variables from the package PACKAGE in the database referenced by DBVAR in the record specified by KEY.

If STRIP=TRUE is supplied, then the names of the variables written to the database have their package prefix removed as they are written.

Upon success, this function returns the string `"true"`.

    <set-var foo::x=x foo::array[0]=val0 foo::array[1]=val1>
    <with-open-database db /tmp/file.db mode=write-create>
      <database-save-package db mykey foo strip=true>
    </with-open-database>

produces

    true

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