<?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: Display value of BY variable in ENTRYFOOTNOTE. in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Display-value-of-BY-variable-in-ENTRYFOOTNOTE/m-p/288939#M10218</link>
    <description>&lt;P&gt;This bit:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; eval(put("Page "||put(page,1.)||" of 2",$12.));&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Does not look right to me, the put() function takes characters and makes numbers, but in the above it is putting text to text? &amp;nbsp;Have you tried:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;eval(cat("Page ",put(page,1.)," of 2");&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Aug 2016 14:21:29 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2016-08-02T14:21:29Z</dc:date>
    <item>
      <title>Display value of BY variable in ENTRYFOOTNOTE.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Display-value-of-BY-variable-in-ENTRYFOOTNOTE/m-p/288937#M10216</link>
      <description>&lt;P&gt;My BY variable is PAGE and I want to display Page 1, Page 2 etc. using and ENTRYFOOTNOTE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried this which compiles&lt;/P&gt;
&lt;P&gt;entryfootnote halign=right textattrs=(style=normal size=_footnotefontsize) eval(put("Page "||put(page,1.)||" of 2",$12.));&lt;/P&gt;
&lt;P&gt;but generates the following NOTE and no output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An expression used in a text statement resolves to a column. It must resolve to a constant. The expression will be ignored.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 14:05:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Display-value-of-BY-variable-in-ENTRYFOOTNOTE/m-p/288937#M10216</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2016-08-02T14:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Display value of BY variable in ENTRYFOOTNOTE.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Display-value-of-BY-variable-in-ENTRYFOOTNOTE/m-p/288938#M10217</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Simplifying it, you can you _byval_ to output the page number, you also need to add _byval_ to the dynamic statement too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of the top of my head, this may work:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;entryfootnote halign=right textattrs=(style=normal size=_footnotefontsize) "Page " _byval_ " of 2";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 14:19:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Display-value-of-BY-variable-in-ENTRYFOOTNOTE/m-p/288938#M10217</guid>
      <dc:creator>djrisks</dc:creator>
      <dc:date>2016-08-02T14:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Display value of BY variable in ENTRYFOOTNOTE.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Display-value-of-BY-variable-in-ENTRYFOOTNOTE/m-p/288939#M10218</link>
      <description>&lt;P&gt;This bit:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; eval(put("Page "||put(page,1.)||" of 2",$12.));&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Does not look right to me, the put() function takes characters and makes numbers, but in the above it is putting text to text? &amp;nbsp;Have you tried:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;eval(cat("Page ",put(page,1.)," of 2");&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 14:21:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Display-value-of-BY-variable-in-ENTRYFOOTNOTE/m-p/288939#M10218</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-08-02T14:21:29Z</dc:date>
    </item>
  </channel>
</rss>

