[ Previous ] [ Contents ] [ Index ] [ Next ]

ns_config

Overview

Extract information from the configuration file

Syntax

ns_config ?-exact | -bool? section key

Description

The ns_config function returns the value associated with the key in the specified section of the configuration file. If -exact is specified, matching on key is case-sensitive. By default matching is case-insensitive. If -bool is specified, ns_config will perform the conversion of a boolean value from "on", "1", "y", "yes", "t", and "true" to "1", and it will convert a boolean value of "off", "0", "n", "no", "f", and "false" to "0". If a boolean contains any other value, a warning is logged.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.