<?xml version="1.0"?>

<!--
	description:

		"Set Tasks"

	library: "Gobo Eiffel Ant"
	copyright: "Copyright (c) 2002, Sven Ehrke and others"
	license: "Eiffel Forum License v2 (see forum.txt)"
	date: "$Date: 2005/07/07 13:34:12 $"
	revision: "$Revision: 1.6 $"
-->

<chapter xmlns="http://www.gobosoft.com/eiffel/gobo/documentation" id="set_task">
<chapterinfo>
	<copyright>
		<year>2002-2005</year>
		<holder>Sven Ehrke</holder>
	</copyright>
	<author>
		<firstname>Sven</firstname><surname>Ehrke</surname>
	</author>
	<email>ericb@gobosoft.com</email>
	<date>7 July 2005</date>
</chapterinfo>

	<title>set</title>

	<section id="set_description">
		<title>Description</title>
		<para>
			Set a variable's value.
		</para>
	</section>

	<section id="set_parameters">
		<title>Parameters</title>

		<variablelist>
			<varlistentry>
				<term>name</term>
				<listitem>
					<para><emphasis>Description: </emphasis>Name of variable</para>
				</listitem>
				<listitem>
					<para><emphasis>Domain: </emphasis>Identifier</para>
				</listitem>
				<listitem>
					<para><emphasis>Default: </emphasis>-</para>
				</listitem>
			</varlistentry>

			<varlistentry>
				<term>value</term>
				<listitem>
					<para><emphasis>Description: </emphasis>Value to be assigned</para>
				</listitem>
				<listitem>
					<para><emphasis>Domain: </emphasis>String</para>
				</listitem>
				<listitem>
					<para><emphasis>Default: </emphasis>-</para>
				</listitem>
			</varlistentry>

		</variablelist>

	</section>

	<section id="set_specification">
		<title>RNG Specification</title>

		<programlisting><![CDATA[
  <define name="set">
    <element name="set">
      <ref name="dir_if_unless"/>
      <attribute name="name"/>
      <attribute name="value"/>
    </element>
  </define>
]]>
		</programlisting>
	</section>

	<section id="set_examples">
		<title>Examples</title>

		<programlisting><![CDATA[
  <set name="directory" value="tmp"/>
]]>
		</programlisting>
	</section>

</chapter>
