<?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: Custom Between function in QlikView: How to add descriptions to input parameters? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-Between-function-in-QlikView-How-to-add-descriptions-to/m-p/44452#M7455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK it's not possible but you could vote on it: &lt;A __default_attr="4652" __jive_macro_name="idea" class="jive_macro jive_macro_idea" data-orig-content="Tooltips for custom functions and sub-routines" href="https://community.qlik.com/"&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2018 15:20:49 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2018-03-19T15:20:49Z</dc:date>
    <item>
      <title>Custom Between function in QlikView: How to add descriptions to input parameters?</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Between-function-in-QlikView-How-to-add-descriptions-to/m-p/44451#M7454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm experimenting on creating custom functions in the Module Editor of QlikView (v 12). &lt;SPAN style="font-size: 13.3333px;"&gt;I'm simply trying to create a Between function, similar to the one available in SQL. &lt;/SPAN&gt;Written in JScript, this is my function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function Between(x, upper, lower, notinclude) {&lt;/P&gt;&lt;P&gt;notinclude = 0 || 1 || 2 || Null;&lt;/P&gt;&lt;P&gt;if (notinclude == 0) {&lt;/P&gt;&lt;P&gt;if (x&amp;lt;=upper &amp;amp;&amp;amp; x&amp;gt;=lower) {&lt;/P&gt;&lt;P&gt;return (True);&lt;/P&gt;&lt;P&gt;} else {&lt;/P&gt;&lt;P&gt;return (False);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;else if (notinclude == 1) {&lt;/P&gt;&lt;P&gt;if (x&amp;lt;=upper &amp;amp;&amp;amp; x&amp;gt;lower) {&lt;/P&gt;&lt;P&gt;return (True);&lt;/P&gt;&lt;P&gt;} else {&lt;/P&gt;&lt;P&gt;return (False);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;else if (notinclude == 2) {&lt;/P&gt;&lt;P&gt;if (x&amp;lt;upper &amp;amp;&amp;amp; x&amp;gt;=lower) {&lt;/P&gt;&lt;P&gt;return (True);&lt;/P&gt;&lt;P&gt;} else {&lt;/P&gt;&lt;P&gt;return (False);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to add the possibility to choose which of the bounds to include in the comparison, hence the "notinclude" parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm not completely certain that the function works the way I like (to start with I'm no JS guru, and also I am completely new to custom functions in QV). I haven't gone on and tried it yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question, however, is: &lt;STRONG&gt;how can I create suitable descriptions in "script syntax mode" &lt;/STRONG&gt;(for lack of other words), so that the user that has never seen this function knows what each parameters is supposed to mean? Now, the syntax description/help text in the script just states "&lt;EM&gt;dual Between(expr, expr, expr, expr)&lt;/EM&gt;". I would want it to state, for instance, "&lt;EM&gt;dual Between(expr, lowerbound, upperbound, excludebound)&lt;/EM&gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Mar 2018 11:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Between-function-in-QlikView-How-to-add-descriptions-to/m-p/44451#M7454</guid>
      <dc:creator>dpollozhani</dc:creator>
      <dc:date>2018-03-18T11:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Between function in QlikView: How to add descriptions to input parameters?</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Between-function-in-QlikView-How-to-add-descriptions-to/m-p/44452#M7455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK it's not possible but you could vote on it: &lt;A __default_attr="4652" __jive_macro_name="idea" class="jive_macro jive_macro_idea" data-orig-content="Tooltips for custom functions and sub-routines" href="https://community.qlik.com/"&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 15:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Between-function-in-QlikView-How-to-add-descriptions-to/m-p/44452#M7455</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-03-19T15:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Between function in QlikView: How to add descriptions to input parameters?</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Between-function-in-QlikView-How-to-add-descriptions-to/m-p/44453#M7456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see you have already voted for it. Knowing that the focus nowadays is virtually only on Qlik Sense, I find it hard to believe that functionality like this would be added, but one can always hope. Either that, or the possibility to do similar things on Qlik Sense. Nonetheless, thanks a bunch!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 15:32:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Between-function-in-QlikView-How-to-add-descriptions-to/m-p/44453#M7456</guid>
      <dc:creator>dpollozhani</dc:creator>
      <dc:date>2018-03-19T15:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Between function in QlikView: How to add descriptions to input parameters?</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Between-function-in-QlikView-How-to-add-descriptions-to/m-p/44454#M7457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry, I mean that I can see that you have already made a thread on the topic. I've given my vote now!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 15:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Between-function-in-QlikView-How-to-add-descriptions-to/m-p/44454#M7457</guid>
      <dc:creator>dpollozhani</dc:creator>
      <dc:date>2018-03-19T15:33:53Z</dc:date>
    </item>
  </channel>
</rss>

