<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Nested quotes, value(), and string() and other fun "Headaches"</title>
    <link>https://forums.adobe.com/community/director/director_lingo?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Thu, 17 Jul 2014 22:55:50 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-07-17T22:55:50Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Nested quotes, value(), and string() and other fun "Headaches"</title>
      <link>https://forums.adobe.com/message/6560126?tstart=0#6560126</link>
      <description>&lt;!-- [DocumentBodyStart:6faaa2f5-be5d-4668-b187-b39d659c2054] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;What the???&amp;nbsp; Since you already had this working even before your first post, and then figured out another way to make it work too, I should just leave this alone &amp;hellip; but I couldn't.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It seems like you went about it backwards.&amp;nbsp; This will create the same result for the variable &lt;strong&gt;s&lt;/strong&gt; as your first example:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&amp;nbsp; myString =&lt;span style="color: #515151;"&gt; "This"&lt;/span&gt; &amp;amp;&amp;amp; VariableD &amp;amp;&amp;amp;&lt;span style="color: #515151;"&gt; "ThisToo"&lt;/span&gt; &amp;amp;&amp;amp;&lt;span style="color: #515151;"&gt; "That"&lt;/span&gt;&lt;span style="font-size: 10px; line-height: 1.5em;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&amp;nbsp; s = []&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&amp;nbsp; s.&lt;span style="color: #044f0c;"&gt;append&lt;/span&gt;(myString)&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 10px; font-family: Monaco;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;although I suspect you really wanted &lt;strong&gt;DB&lt;/strong&gt; to end up being the list and not &lt;strong&gt;s&lt;/strong&gt;, and that would have just been like so:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 10px; font-family: Monaco;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&amp;nbsp; s =&lt;span style="color: #515151;"&gt; "This"&lt;/span&gt; &amp;amp;&amp;amp; VariableD &amp;amp;&amp;amp;&lt;span style="color: #515151;"&gt; "ThisToo"&lt;/span&gt; &amp;amp;&amp;amp;&lt;span style="color: #515151;"&gt; "That"&lt;/span&gt;&lt;span style="font-size: 10px;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&amp;nbsp; DB = []&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco;"&gt;&amp;nbsp; DB.&lt;span style="color: #044f0c;"&gt;append&lt;/span&gt;(s)&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:6faaa2f5-be5d-4668-b187-b39d659c2054] --&gt;&lt;img src='/beacon?t=1415930983599' /&gt;</description>
      <pubDate>Thu, 17 Jul 2014 22:55:50 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6560126?tstart=0#6560126</guid>
      <dc:date>2014-07-17T22:55:50Z</dc:date>
      <clearspace:dateToText>3 months 4 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Nested quotes, value(), and string() and other fun "Headaches"</title>
      <link>https://forums.adobe.com/message/6321354?tstart=0#6321354</link>
      <description>&lt;!-- [DocumentBodyStart:4d92ecd5-f944-4389-aacd-f798ad18992c] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I ended up creating a small DB in text format as a cast lib member and having yet another text member that&lt;/p&gt;&lt;p&gt;I use to create my entries, which looks much cleaner, and have Director read from that and assign it in the DB.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:4d92ecd5-f944-4389-aacd-f798ad18992c] --&gt;</description>
      <pubDate>Tue, 22 Apr 2014 23:57:40 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6321354?tstart=0#6321354</guid>
      <dc:date>2014-04-22T23:57:40Z</dc:date>
      <clearspace:dateToText>6 months 3 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Nested quotes, value(), and string() and other fun "Headaches"</title>
      <link>https://forums.adobe.com/message/6318493?tstart=0#6318493</link>
      <description>&lt;!-- [DocumentBodyStart:263218ad-bfb1-4556-bae3-308f067b5e87] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I agree that it doesn't seem that you are doing things the "right" way, but you haven't provided enough oversight to grasp what a better way might look like. Whenever you find yourself using the value() function to insert a variable into an expression should ring alarm bells that there is a "better" way&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:263218ad-bfb1-4556-bae3-308f067b5e87] --&gt;</description>
      <pubDate>Tue, 22 Apr 2014 07:06:07 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6318493?tstart=0#6318493</guid>
      <dc:date>2014-04-22T07:06:07Z</dc:date>
      <clearspace:dateToText>6 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Nested quotes, value(), and string() and other fun "Headaches"</title>
      <link>https://forums.adobe.com/message/6318463?tstart=0#6318463</link>
      <description>&lt;!-- [DocumentBodyStart:87a859e0-b1f8-45d1-90c1-8c8792b05b2c] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;So I have a handlerA in which I do something like this all with local variables:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;VariableA = "The Planet" VariableB &amp;amp;&amp;amp; "orbit" &amp;amp;&amp;amp; VariableB&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I need to store stuff in a big list in a separate handlerB , for example, without the VariableD expanding, which is why I have to put it&lt;/p&gt;&lt;p&gt;in quotes:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DB = []&lt;/p&gt;&lt;p&gt;DB.append("This" &amp;amp; QUOTE &amp;amp;&amp;amp; "&amp;amp;&amp;amp;" &amp;amp;&amp;amp; "VariableD" &amp;amp;&amp;amp; "&amp;amp;&amp;amp;" &amp;amp;&amp;amp; QUOTE &amp;amp; "ThisToo" &amp;amp; QUOTE &amp;amp; "&amp;amp;&amp;amp;" &amp;amp; QUOTE &amp;amp; "That")&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;s = string(DB)&lt;/p&gt;&lt;p&gt;s = value(s)&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;put s &lt;/p&gt;&lt;p&gt;seems to work but I am not sure I am doing this right. Any input would be appreciated.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I need to be able to call tokens/items from the content of DB, much like what is assigned to VariableA&lt;/p&gt;&lt;p&gt;then have it's variables expand like it does in handlerA&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:87a859e0-b1f8-45d1-90c1-8c8792b05b2c] --&gt;</description>
      <pubDate>Tue, 22 Apr 2014 05:59:57 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6318463?tstart=0#6318463</guid>
      <dc:date>2014-04-22T05:59:57Z</dc:date>
      <clearspace:dateToText>6 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

