<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, How do I de-assign a variable?</title>
    <link>http://www.mapleprimes.com/questions/37202-How-Do-I-Deassign-A-Variable</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Sat, 13 Jun 2026 18:18:44 GMT</lastBuildDate>
    <pubDate>Sat, 13 Jun 2026 18:18:44 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, How do I de-assign a variable?</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, How do I de-assign a variable?</title>
      <link>http://www.mapleprimes.com/questions/37202-How-Do-I-Deassign-A-Variable</link>
    </image>
    <item>
      <title> 
x:=A :
x; 
unassign('x')</title>
      <link>http://www.mapleprimes.com/questions/37202-How-Do-I-Deassign-A-Variable?ref=Feed:MaplePrimes:How do I de-assign a variable?:Comments#answer65468</link>
      <itunes:summary>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;x:=A :&lt;br /&gt;
x; &lt;br /&gt;
unassign('x') : &lt;br /&gt;
x ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;x:=A :&lt;br /&gt;
x; &lt;br /&gt;
unassign('x') : &lt;br /&gt;
x ;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;</description>
      <guid>65468</guid>
      <pubDate>Sat, 13 Jun 2009 01:20:48 Z</pubDate>
      <itunes:author>alex_01</itunes:author>
      <author>alex_01</author>
    </item>
    <item>
      <title>Thanks!</title>
      <link>http://www.mapleprimes.com/questions/37202-How-Do-I-Deassign-A-Variable?ref=Feed:MaplePrimes:How do I de-assign a variable?:Comments#answer65469</link>
      <itunes:summary>&lt;p&gt;Thanks!&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thanks!&lt;/p&gt;</description>
      <guid>65469</guid>
      <pubDate>Sat, 13 Jun 2009 01:59:30 Z</pubDate>
      <itunes:author>GustavHj</itunes:author>
      <author>GustavHj</author>
    </item>
    <item>
      <title>another way to unassign a name</title>
      <link>http://www.mapleprimes.com/questions/37202-How-Do-I-Deassign-A-Variable?ref=Feed:MaplePrimes:How do I de-assign a variable?:Comments#comment65470</link>
      <itunes:summary>&lt;p&gt;If you really want to change the definition, just edit the earlier command and re-execute. There is no need to remove the assignment.&lt;/p&gt;
&lt;pre&gt;
x := 3*sin(y);&lt;/pre&gt;
&lt;p&gt;Oops. This should have been cos:&lt;/p&gt;
&lt;pre&gt;
x := 3*cos(y);&lt;/pre&gt;
&lt;p&gt;You do need to unassign a name if you want to completely erase all assignments that have been made to a name. For this I recommend unassign or back quotes:&lt;/p&gt;
&lt;p&gt;unassign( 'x' ); # here the single quotes are used to delay evaluation&lt;br /&gt;
x:&lt;/p&gt;
&lt;pre&gt;
x := A;&lt;br /&gt;x := `x`;&amp;nbsp; # but here back quotes are needed to assign the symbol x to the name x (thereby replacing any current value assigned to x)&lt;/pre&gt;
&lt;p&gt;I hope this provides some additional understanding,&lt;/p&gt;
&lt;p&gt;Doug&lt;/p&gt;
&lt;pre&gt;
---------------------------------------------------------------------
Douglas B. Meade  &amp;lt;&amp;gt;&amp;lt;
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu&lt;/pre&gt;</itunes:summary>
      <description>&lt;p&gt;If you really want to change the definition, just edit the earlier command and re-execute. There is no need to remove the assignment.&lt;/p&gt;
&lt;pre&gt;
x := 3*sin(y);&lt;/pre&gt;
&lt;p&gt;Oops. This should have been cos:&lt;/p&gt;
&lt;pre&gt;
x := 3*cos(y);&lt;/pre&gt;
&lt;p&gt;You do need to unassign a name if you want to completely erase all assignments that have been made to a name. For this I recommend unassign or back quotes:&lt;/p&gt;
&lt;p&gt;unassign( 'x' ); # here the single quotes are used to delay evaluation&lt;br /&gt;
x:&lt;/p&gt;
&lt;pre&gt;
x := A;&lt;br /&gt;x := `x`;&amp;nbsp; # but here back quotes are needed to assign the symbol x to the name x (thereby replacing any current value assigned to x)&lt;/pre&gt;
&lt;p&gt;I hope this provides some additional understanding,&lt;/p&gt;
&lt;p&gt;Doug&lt;/p&gt;
&lt;pre&gt;
---------------------------------------------------------------------
Douglas B. Meade  &amp;lt;&amp;gt;&amp;lt;
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu&lt;/pre&gt;</description>
      <guid>65470</guid>
      <pubDate>Sat, 13 Jun 2009 02:56:48 Z</pubDate>
      <itunes:author>Doug Meade</itunes:author>
      <author>Doug Meade</author>
    </item>
    <item>
      <title>Quotes</title>
      <link>http://www.mapleprimes.com/questions/37202-How-Do-I-Deassign-A-Variable?ref=Feed:MaplePrimes:How do I de-assign a variable?:Comments#comment65471</link>
      <itunes:summary>&lt;p&gt;That is not quite correct.&amp;nbsp; You want to use right quote (forward quotes), not back quotes (left quotes).&amp;nbsp; That is, do&lt;/p&gt;
&lt;pre&gt;
&amp;nbsp; x := 'x';
&lt;/pre&gt;
&lt;p&gt;Right quotes delay evaluation of an expression, so the rhs of the assignment evaluates to the name rather than its assigned value. &lt;/p&gt;
&lt;p&gt;Left quotes are used to express symbols that contain special characters, that is, that not in the expanded alphanumeric set.&amp;nbsp; They have no effect on evaluation, and no effect on a symbol that do not otherwise need them.&amp;nbsp; So `x` is equivalent to x.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;That is not quite correct.&amp;nbsp; You want to use right quote (forward quotes), not back quotes (left quotes).&amp;nbsp; That is, do&lt;/p&gt;
&lt;pre&gt;
&amp;nbsp; x := 'x';
&lt;/pre&gt;
&lt;p&gt;Right quotes delay evaluation of an expression, so the rhs of the assignment evaluates to the name rather than its assigned value. &lt;/p&gt;
&lt;p&gt;Left quotes are used to express symbols that contain special characters, that is, that not in the expanded alphanumeric set.&amp;nbsp; They have no effect on evaluation, and no effect on a symbol that do not otherwise need them.&amp;nbsp; So `x` is equivalent to x.&lt;/p&gt;</description>
      <guid>65471</guid>
      <pubDate>Sat, 13 Jun 2009 03:47:01 Z</pubDate>
      <itunes:author>Joe
 Riel
</itunes:author>
      <author>Joe
 Riel
</author>
    </item>
  </channel>
</rss>