Symbian3/SDK/Source/GUID-78865979-D519-5476-91FE-9EF3386AC8F5.dita
author Dominic Pinkman <dominic.pinkman@nokia.com>
Tue, 20 Jul 2010 12:00:49 +0100
changeset 13 48780e181b38
parent 0 89d6a7a84779
permissions -rw-r--r--
Week 28 contribution of SDK documentation content. See release notes for details. Fixes bugs Bug 1897 and Bug 1522.

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
    Nokia Corporation - initial contribution.
Contributors: 
-->
<!DOCTYPE concept
  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept xml:lang="en" id="GUID-78865979-D519-5476-91FE-9EF3386AC8F5"><title>unset</title><prolog><metadata><keywords/></metadata></prolog><conbody><p><userinput>unset [ -fmv ] name ...</userinput> </p> <p>Each named parameter is <codeph>unset</codeph>. Local parameters remain local even if unset; they appear unset within scope, but the previous value will still reappear when the scope ends. Individual elements of associative array parameters may be unset by using subscript syntax on <codeph>name</codeph>, which should be quoted (or the entire command prefixed with <codeph>noglob</codeph>) to protect the subscript from filename generation. </p> <table id="GUID-241FBFFB-B0F0-51B1-B84A-2AAAB7ABB0D1"><tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/><thead><row><entry>Option</entry> <entry>Description</entry> </row> </thead> <tbody><row><entry><p> <codeph>-f</codeph>  </p> </entry> <entry><p>Equivalent to <xref href="GUID-7A1B0CAC-BA12-512A-98B0-86CD317E4B24.dita">unfunction</xref>. </p> </entry> </row> <row><entry><p> <codeph>-m</codeph>  </p> </entry> <entry><p>The arguments are taken as patterns (should be quoted) and all parameters with matching names are unset. Note that this cannot be used when unsetting associative array elements, as the subscript will be treated as part of the pattern. </p> </entry> </row> <row><entry><p> <codeph>-v</codeph>  </p> </entry> <entry><p>Specifies that name refers to parameters. This is the default behaviour. </p> </entry> </row> </tbody> </tgroup> </table> </conbody></concept>