<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Function parameters for callback functions]]></title><description><![CDATA[<p dir="auto">Is it possible to add function parameters to callbacks?</p>
<p dir="auto">Example code on what I am trying to achieve:</p>
<pre><code>Server.downloadFile(url, {}, target, callbackFunc(parameter));
inline function callbackFunc(parameter) {...}
</code></pre>
]]></description><link>https://forum.hise.audio/topic/7383/function-parameters-for-callback-functions</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 15:46:10 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/7383.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 Mar 2023 15:05:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Function parameters for callback functions on Mon, 27 Mar 2023 15:24:15 GMT]]></title><description><![CDATA[<p dir="auto">@d-healey thanks will do!</p>
]]></description><link>https://forum.hise.audio/post/63171</link><guid isPermaLink="true">https://forum.hise.audio/post/63171</guid><dc:creator><![CDATA[oskarsh]]></dc:creator><pubDate>Mon, 27 Mar 2023 15:24:15 GMT</pubDate></item><item><title><![CDATA[Reply to Function parameters for callback functions on Mon, 27 Mar 2023 15:23:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/2333">@oskarsh</a> No, the parameters of callbacks are always predefined. You need to store your values in namespace wide reg variables or pass them in via lambda.</p>
<p dir="auto">Christoph gives an example of that here</p>
<p dir="auto"><a href="https://forum.hise.audio/topic/6948/downloadfile-repaint-issue/8">https://forum.hise.audio/topic/6948/downloadfile-repaint-issue/8</a></p>
]]></description><link>https://forum.hise.audio/post/63170</link><guid isPermaLink="true">https://forum.hise.audio/post/63170</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Mon, 27 Mar 2023 15:23:45 GMT</pubDate></item></channel></rss>