<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Interactive dynamic system: a simple interaction that does not work in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87474#M34597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; I didn't realize you could do this outside of a function call or for-loop sequence. &lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Nor did I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;That's why I use the vector method for multiple assignment&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Which is exactly what I would use, too, and what should be used anyway, I guess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Werner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Oct 2015 21:17:19 GMT</pubDate>
    <dc:creator>Werner_E</dc:creator>
    <dc:date>2015-10-23T21:17:19Z</dc:date>
    <item>
      <title>Interactive dynamic system: a simple interaction that does not work</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87465#M34588</link>
      <description>Using Mathcad v11, I tried a simple interaction, to update variables according to the movement of time (t).Two points that have drawn me crazy: I guess the second does not have easy solution.In the picture below, I cannot really understand why the code SA1 does not work, and stops</description>
      <pubDate>Thu, 03 May 2018 15:00:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87465#M34588</guid>
      <dc:creator>anthonyQueen</dc:creator>
      <dc:date>2018-05-03T15:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive dynamic system: a simple interaction that does not work</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87466#M34589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;Without the actual worksheet it's difficult to interpret your code exactly.&lt;/P&gt;&lt;P&gt;Do you realize that the assignment inside the if statement of SA1 only can assign the values 1 or 0 to SAi, while Ai always gets assigned the value of A0 (which you preset at 2? The 'and' operator is not there to allow to put more assignments (or other statements) on a single line, but it is a logical operator, with a logic result (either True or False, 1 or 0 respectively).&lt;/P&gt;&lt;P&gt;What actually happens is that the value of A0 is assigned to Ai (and that seems to be what you want, as shown by SA2), but SAi gets the result of the logical question whether both SA0 and Ai are TRUE (unequal to zero) and looking at the implementation of SA2, that is NOT what you want.&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;I've run in that problem a couple of times also. It's hand work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Success!&lt;/P&gt;&lt;P&gt;Luc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 12:02:40 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87466#M34589</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2015-10-23T12:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive dynamic system: a simple interaction that does not work</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87467#M34590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;anthony Queen wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;U&lt;SPAN style="font-size: 12pt;"&gt;sing Mathcad v11, I tried a simple interaction, to update variables according to the movement of time (t).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 12pt;"&gt;Two points that have drawn me crazy: I guess the second does not have easy solution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;&lt;OL&gt;
&lt;LI&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 12pt;"&gt;In the picture below, I cannot really understand why the code SA1 does not work, and stops with error at A&lt;SPAN style="font-size: 10pt;"&gt;i-1&lt;/SPAN&gt;. I shall notice that&amp;nbsp; if I set t=1, it works. So the conditional "if" in SA1 seems ok. Can someone kindly explain what is the problem with t&amp;gt;1, while no problem is found in SA2 code?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 12pt;"&gt;I made the error in another sheet - not in the one below - of setting my initial variables with the literal subscript (e.g. A.0) , even when the sbuscript is a number. I would like now to&amp;nbsp; "Replace" A.0, with a proper numerical subscript. But MC does not accept a paste of Math text into the Replace Window, for such subscript. Is there another way to write it in the Replace Window? Thanks.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;&lt;/OL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Just to back up Luc's points ... I've changed gI to 1 to make the effects more obvious.&amp;nbsp; Your code doesn't seem to run into the same error in M15.&amp;nbsp; I don't know whether this is problem with my typing or M11.&amp;nbsp; There are several Mathcad constructs (such as the literal versus vector subscript problem you mention) that are difficult if not impossible to analyze without the offending worksheet.&amp;nbsp; I've attached an M11 version of my M15 worksheet&amp;nbsp; - do you still get the error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stuart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/93539_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 12:22:11 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87467#M34590</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2015-10-23T12:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive dynamic system: a simple interaction that does not work</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87468#M34591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Thanks LucMeekes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fear for 2, so no surprise that even the MC experts did not have&amp;nbsp; - unfortunately - workarounds.&lt;/P&gt;&lt;P&gt;You may be correct for&amp;nbsp; question 1. But then I do not have quite clear why then the "AND" operator works in connecting columns in SA2 (line before the last).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially I wrote SA1 avoiding the IF operator, and setting&amp;nbsp; i&amp;nbsp; € 1...t not from 0...t as above. Yet, the program gave me&amp;nbsp; the same kind error when t&amp;gt;1 (to be correct&amp;nbsp; it does not recognize SAi-1), with the same error message :&amp;nbsp; "Value of subscript is too big (or too small) for this array".&amp;nbsp; It did work instead also in that case if t=1. This is a puzzle for me, since values for i=1 (i.e when t=2) are calculated correctly within the script, in the&amp;nbsp; previous loop of the "for" operator (I say this since for t=1 it works).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If necessary I can upload the sheet, but really there is no much else&amp;nbsp; that the shown picture, and I try to avoid uploading files that may appear trivial.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 12:49:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87468#M34591</guid>
      <dc:creator>anthonyQueen</dc:creator>
      <dc:date>2015-10-23T12:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive dynamic system: a simple interaction that does not work</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87469#M34592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;anthony Queen wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;You may be correct for&amp;nbsp; question 1. But then I do not have quite clear why then the "AND" operator works in connecting columns in SA2 (line before the last).&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I checked the result of the SA1 &amp;lt;- SA0 ^ Ai &amp;lt;- A0 assignment in the if statement by adding a line between the if and the otherwise statements with 'return SA1 if i=1' and it gave me 1 (instead of the 3 you probably expected). See also Stuarts analysis.&lt;/P&gt;&lt;P&gt;Likewise the last line in SA2 'works' in that it does not throw an error, but I doubt if you get the result in the matrix M that you were looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As to the reason for the error message occurring with Ai-1 in the otherwise line, I'm still puzzling. Here the actual worksheet may be required because it DOES make a difference compared to a picture...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Success!&lt;/P&gt;&lt;P&gt;Luc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 13:38:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87469#M34592</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2015-10-23T13:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive dynamic system: a simple interaction that does not work</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87470#M34593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;LucMeekes wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;As to the reason for the error message occurring with Ai-1 in the otherwise line, I'm still puzzling. Here the actual worksheet may be required because it DOES make a difference compared to a picture...&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does my worksheet work OK in your M11, Luc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stuart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 15:01:39 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87470#M34593</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2015-10-23T15:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive dynamic system: a simple interaction that does not work</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87471#M34594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first assignment yields the correct result, too, if typed in the correct way &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-4" src="https://community.ptc.com/legacyfs/online/93569_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably its better to type parentheses&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="93564" alt="" class="jive-image image-1" height="63" src="https://community.ptc.com/legacyfs/online/93564_pastedImage_0.png" style="width: 230px; height: 62.9876px;" width="230" /&gt;&lt;/P&gt;&lt;P&gt;The Boolean AND between the two assignments has no effect and you could as well replace it by a comma&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="93568" alt="" class="jive-image image-3" height="60" src="https://community.ptc.com/legacyfs/online/93568_pastedImage_0.png" style="width: 223px; height: 60.4746px;" width="223" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you (I am referring to Stuarts sheet)&amp;nbsp; had typed was&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="93566" alt="" class="jive-image image-2" height="61" src="https://community.ptc.com/legacyfs/online/93566_pastedImage_2.png" style="width: 226px; height: 61.1073px;" width="226" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 15:32:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87471#M34594</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2015-10-23T15:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive dynamic system: a simple interaction that does not work</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87472#M34595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Werner Exinger wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The first assignment yields the correct result, too, if typed in the correct way &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Probably its better to type parentheses&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Indeed - or at least until we get an RPN or LISP version of Mathcad &lt;IMG src="https://community.ptc.com/legacyfs/online/emoticons/devil.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I didn't "Like" your post for that, Werner.&amp;nbsp;&amp;nbsp; I did, however, like it for this.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;The Boolean AND between the two assignments has no effect and you could as well replace it by a comma&lt;/P&gt;
&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" height="60" src="https://community.ptc.com/legacyfs/online/93597_pastedImage_0.png" style="width: 223px; height: 60.4746px;" width="223" /&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't realize you could do this outside of a function call or for-loop sequence.&amp;nbsp;&amp;nbsp; That's why I use the vector method for multiple assignment (which I think is necessary, regardless, for worksheet := multiple assignments). &lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-4" src="https://community.ptc.com/legacyfs/online/93596_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everyday's a learning experience&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stuart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 19:22:47 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87472#M34595</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2015-10-23T19:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive dynamic system: a simple interaction that does not work</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87473#M34596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stuart, Werner many thanks for your precious feedback, and work!&lt;/P&gt;&lt;P&gt;Stuart: I have commuted since my last post, and now I am with my portable. With this other Mathacad (still v.11), the file you uploaded throws the same error (and message: "Value of subscript, etc.") I pointed out in my original post. All the other three cases instead work ok. Thanks for that!&lt;/P&gt;&lt;P&gt;So there is something in v.11 (at least in my versions) that fortunately is no longer present in v.15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Werner: Using again the Stuart's file (in addition to mine), I can also say that if I substitute the "AND" operator with a "COMMA", even if I add parenthesis I got a "Illegal function value", and the two assignments SAi&amp;lt;-- SA_0 e Ai&amp;lt;--A_0 are in red. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 20:51:02 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87473#M34596</guid>
      <dc:creator>anthonyQueen</dc:creator>
      <dc:date>2015-10-23T20:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive dynamic system: a simple interaction that does not work</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87474#M34597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; I didn't realize you could do this outside of a function call or for-loop sequence. &lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Nor did I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;That's why I use the vector method for multiple assignment&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Which is exactly what I would use, too, and what should be used anyway, I guess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Werner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 21:17:19 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87474#M34597</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2015-10-23T21:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive dynamic system: a simple interaction that does not work</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87475#M34598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Werner: Using again the Stuart's file (in addition to mine), I can also say that if I substitute the "AND" operator with a "COMMA", even if I add parenthesis I got a "Illegal function value", and the two assignments SAi&amp;lt;-- SA_0 e Ai&amp;lt;--A_0 are in red. &lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So there seem to be a bit more differences between MC11 and newer releases than we are aware of.&lt;/P&gt;&lt;P&gt;But using single assignments line by line or multiple assignment using a vector is the method which should be used, anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Werner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 21:20:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87475#M34598</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2015-10-23T21:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive dynamic system: a simple interaction that does not work</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87476#M34599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Werner Exinger wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;BLOCKQUOTE class="jive-quote"&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; I didn't realize you could do this outside of a function call or for-loop sequence.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Nor did I.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;BLOCKQUOTE class="jive-quote"&gt;
&lt;P&gt;That's why I use the vector method for multiple assignment&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P style="min-height: 8pt; padding: 0px;"&gt;Which is exactly what I would use, too, and what should be used anyway, I guess. &lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sadly, this idea has been killed off in its Prime ... it's Prime 3.1 to be exact.&amp;nbsp; It doesn't translate and I can't enter it. Curses.&amp;nbsp; Just when I was getting enthusiastic about this new shortcut. &lt;IMG src="https://community.ptc.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still, the Prime method of entering arrays makes the "conventional" approach a bit easier.&amp;nbsp;&amp;nbsp; I find myself entering vectors explicitly in Prime rather than using stack, which I find easier in M15.&amp;nbsp; ... and I suppose, if one were feeling that way inclined, one could subvert a built-in arbitrary argument count function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/93602_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stuart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 22:33:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87476#M34599</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2015-10-23T22:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive dynamic system: a simple interaction that does not work</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87477#M34600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Other unexpected result.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Take with MC11 the code of SA1, (initial picture or Stuart's file).&lt;/LI&gt;&lt;LI&gt;Remove "AND" operator and substitute it with "XOR" operator.&lt;/LI&gt;&lt;LI&gt;That works.&lt;/LI&gt;&lt;LI&gt;This may help to explain (by extension) why recent MC versions work also with "AND". If we let&amp;nbsp; work with "XOR", why not with "AND", programmers probably thought.&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Oct 2015 09:06:51 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87477#M34600</guid>
      <dc:creator>anthonyQueen</dc:creator>
      <dc:date>2015-10-24T09:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive dynamic system: a simple interaction that does not work</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87478#M34601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've poked around at that in MC11 for over an hour, and I can't figure out why it fails. If I replace the otherwise statement with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SA[i&amp;lt;--i otherwise&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then i takes the values 1, 1, 2, which is correct. So it makes no sense to me that A[i-1 should throw an error about the subscript being out of range, but it does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whatever. I'm not going to spend any more time trying to figure out why a dubious piece of syntax causes an error in a very old version of Mathcad &lt;IMG src="https://community.ptc.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Oct 2015 12:03:41 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87478#M34601</guid>
      <dc:creator>RichardJ</dc:creator>
      <dc:date>2015-10-24T12:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive dynamic system: a simple interaction that does not work</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87479#M34602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stuart,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No joy for (the top-left) SA1, the others are OK.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="93645" alt="" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/93645_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;But SA2 gives a different result.&lt;/P&gt;&lt;P&gt;Luc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Oct 2015 21:47:35 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87479#M34602</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2015-10-25T21:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive dynamic system: a simple interaction that does not work</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87480#M34603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;LucMeekes wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Stuart,&lt;/P&gt;
&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;
&lt;P&gt;No joy for (the top-left) SA1, the others are OK.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;But SA2 gives a different result.Intr&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/93648_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;
&lt;P&gt;Luc&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Interesting, Luc.&amp;nbsp; It almost looks as though it's skipped the assignments for M&lt;SUB&gt;i,1&lt;/SUB&gt; and M&lt;SUB&gt;i,2&lt;/SUB&gt; during the first pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stuart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Oct 2015 22:07:25 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87480#M34603</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2015-10-25T22:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive dynamic system: a simple interaction that does not work</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87481#M34604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;anthony Queen wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Other unexpected result.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Take with MC11 the code of SA1, (initial picture or Stuart's file).&lt;/LI&gt;
&lt;LI&gt;Remove "AND" operator and substitute it with "XOR" operator.&lt;/LI&gt;
&lt;LI&gt;That works.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;This may help to explain (by extension) why recent MC versions work also with "AND". If we let&amp;nbsp; work with "XOR", why not with "AND", programmers probably thought.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/OL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Possibly, but I doubt it.&amp;nbsp; It's more likely that whatever caused the problem disappeared as a side-effect of the major re-write that happened going from M11 to M12.&amp;nbsp; I'm afraid I can't see a programmer (project manager, system engineer, test engineer, software engineer, whatever) deciding to allow something; it's far more likely, IMO, they would have stopped it happening for any boolean.&lt;IMG src="https://community.ptc.com/legacyfs/online/emoticons/mischief.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stuart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Oct 2015 22:15:31 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Interactive-dynamic-system-a-simple-interaction-that-does-not/m-p/87481#M34604</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2015-10-25T22:15:31Z</dc:date>
    </item>
  </channel>
</rss>

