<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>You have 2 local variable a=10 and b=20. so how we will print between a and b in appian code.</title><link>https://community.appian.com/discussions/f/new-to-appian/22551/you-have-2-local-variable-a-10-and-b-20-so-how-we-will-print-between-a-and-b-in-appian-code</link><description>You have 2 local variable a=10 and b=20. so how we will print between a and b in appian code.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: You have 2 local variable a=10 and b=20. so how we will print between a and b in appian code.</title><link>https://community.appian.com/thread/88164?ContentTypeID=1</link><pubDate>Fri, 19 Nov 2021 12:34:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03bd6180-7f06-40ce-a4d4-dd9812fd01ff</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;just curious, whats the use case of that? Sounds a bit like mathematical games &lt;br /&gt;-&amp;gt; check out the product() function&lt;br /&gt;&amp;nbsp;product(3, 2)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/21.3/fnc_mathematical_product.html"&gt;docs.appian.com/.../fnc_mathematical_product.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: You have 2 local variable a=10 and b=20. so how we will print between a and b in appian code.</title><link>https://community.appian.com/thread/88163?ContentTypeID=1</link><pubDate>Fri, 19 Nov 2021 12:34:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9017d022-3656-4696-94d3-ec99211cdc96</guid><dc:creator>Selvakumar Kumarasamy</dc:creator><description>&lt;p&gt;This is one way without using Appian OOTB function-&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!a: 15,
  local!b: 15,
  sum(
    a!forEach(
      items: enumerate(local!a) + 1,
      expression: local!b
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: You have 2 local variable a=10 and b=20. so how we will print between a and b in appian code.</title><link>https://community.appian.com/thread/88162?ContentTypeID=1</link><pubDate>Fri, 19 Nov 2021 12:30:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:27ec24d5-f719-4faf-ab6d-36b7664c7080</guid><dc:creator>pd0003</dc:creator><description>&lt;p&gt;Thank you so much. There is one more question if you can help.&lt;/p&gt;
&lt;p&gt;There are 2 value dynamically given . you need to multiply the both value without using *. For example if two value is 2,3 then either you cab add 2+2+2 or 3+3 .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: You have 2 local variable a=10 and b=20. so how we will print between a and b in appian code.</title><link>https://community.appian.com/thread/88160?ContentTypeID=1</link><pubDate>Fri, 19 Nov 2021 12:19:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:42c9ad9c-ccfc-4054-8eed-e123b8e6925b</guid><dc:creator>Selvakumar Kumarasamy</dc:creator><description>&lt;p&gt;I would like to know the use case here. Assuming &lt;strong&gt;b&lt;/strong&gt; will be always greater than &lt;strong&gt;a&lt;/strong&gt; &amp;amp; we need to exclude a &amp;amp; b, here&amp;#39;s one solution&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!a: 10,
  local!b: 20,
  enumerate(local!b - local!a - 1) + local!a + 1
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>