<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="pvar" module="max" category="Control, Data">
	<digest>
		Connect to a named object in a patcher
	</digest>
	<description>
		The <o>pvar</o> object lets you build user interfaces in one part of your patcher that are associated with the &quot;process&quot; part in another part of the patcher. Unlike the <o>send</o> and <o>receive</o> objects, <o>pvar</o> does not work globally; the <o>pvar</o> object and its associated object must be in the same patcher. You set an object's name by selecting the object and choosing <b>Name...</b> from the Object menu. The name cannot be a number, although it can contain numbers.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			Control
		</metadata>
		<metadata name="tag">
			Data
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				Messages for Object (Disconnected)
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				Messages for Object (Disconnected)
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Object (Disconnected) output 1 (Not In Use)
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="object-name" optional="1" type="symbol">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				The first argument specifies the name of the object to which <o>pvar</o> will be associated with. If no name is supplied, the <m>setname</m> message can be used to connect later.
			</description>
		</objarg>
		<objarg name="number-of-outlets" optional="1" type="int">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				The second argument specifies the number of outlets <o>pvar</o> will have. <o>pvar</o> connects to as many outlets as its associated object has, unless it is more than the number you specify as an argument. The default number of outlets is 1.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Performs the same function as <m>anything</m>.
			</digest>
			<description>
				Performs the same function as <m>anything</m>.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="input-message" optional="0" type="int" />
			</arglist>
			<digest>
				Performs the same function as <m>anything</m>.
			</digest>
			<description>
				Performs the same function as <m>anything</m>.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input-message" optional="0" type="float" />
			</arglist>
			<digest>
				Performs the same function as <m>anything</m>.
			</digest>
			<description>
				Performs the same function as <m>anything</m>.
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="input-message" optional="0" type="list" />
			</arglist>
			<digest>
				Performs the same function as <m>anything</m>.
			</digest>
			<description>
				Performs the same function as <m>anything</m>.
			</description>
		</method>
		<method name="anything">
			<arglist>
				<arg name="input-message" optional="0" type="list" />
			</arglist>
			<digest>
				The message is sent to the named object currently associated with <o>pvar</o>.
			</digest>
			<description>
				The message is sent to the named object currently associated with <o>pvar</o>.
			</description>
		</method>
		<method name="loadbang">
			<arglist />
			<digest>
				Performs the same function as <m>anything</m>.
			</digest>
			<description>
				Performs the same function as <m>anything</m>.
			</description>
		</method>
		<method name="setname">
			<arglist>
				<arg name="object-name" optional="0" type="symbol" />
			</arglist>
			<digest>
				The word <m>setname</m>, followed by a symbol, specifies the name of the object to which <o>pvar</o> will be associated with.
			</digest>
			<description>
				The word <m>setname</m>, followed by a symbol, specifies the name of the object to which <o>pvar</o> will be associated with. The named object must be in the same patcher as the <o>pvar</o> object.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="pvar.png" caption="pvar can be used to build a user interface without any messy patch cords" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="receive" />
		<seealso name="send" />
		<seealso name="thispatcher" />
		<seealso name="value" />
	</seealsolist>
	<misc name="Output">
		<entry name="any message">
			<description>
				The outlets of <o>pvar</o> correspond to the outlets of its associated named object. When the named object sends anything out one of its outlets, the output also comes out of the corresponding outlets of the <o>pvar</o> object.
			</description>
		</entry>
	</misc>
</c74object>
