Wiki source for CommandDeclare

Show raw source

======Command declare======

**declare** Declares or describes namespaces, variables and functions

**declare -p varname**
**declare** namespace [prefix=[uri]]

The declare command is used to add global declarations to the shell. Currently the [[Namespaces declare namespaces]] is the only declaration.
Future may include serialization

If uri is omitted then the namespace is undeclared

If the -p option is specified then the argument is used as a variable name and its type information is printed as in the [[CommandSet set]] command.

declare namespace xmlsh=
declare namespace

Valid XHTML :: Valid CSS: :: Powered by WikkaWiki