<span style="font-family:courier new,monospace">Hi there,<br><br>I did a google search but I couldn't find anything appropriated or I didn't know how to ask about that.<br><br>I
 would like to generate a list (based in some criterias - so, it can be 
variable) in which each element is an function to be called posteriorly.
 Something like a "script".<br>These functions will receive the same parameters.<br><br>I have an list of "fields" that tell me what I need to do (function to call)</span>
<span style="font-family:courier new,monospace">. What I'm looking for is something like this:<br>+----------------------------------------------------------------------------------------+<br> :<br>Lf=[{density,{true,Value}}, {ws,{trueValue}}, {hs,{trueValue}}, ... ,{he,{trueValue}}],<br>
 :<br>Lc=lists:foldl(<br>    fun({density,{true,Value}}, Dict) -><br>          Dict0=dict:store(top, calc_top/1, Dict);<br>          Dict1=dict:store(bottom, calc_bottom/1, Dict0);<br>          dict:store(side, calc_side/1, Dict1);<br>
       ({bf,{true,Value}}, Acc) -><br>          Dict0=dict:store(bottom, calc_bottom/1, Dict);<br>          dict:store(side, calc_side/1, Dict1);<br>       ({sf,{true,Value}}, Acc) -><br>          dict:store(side, calc_side/1, Dict);<br>
         :<br><span class="bold_code">       (_, Dict) -> Dict<br>dict:new()</span>, Lf),<br><br>dict:fold(_Key, Func, Params0) -><br>       Func(Params0)<br>Params, Lc),<br> :<br>+----------------------------------------------------------------------------------------+<br>
</span><br>Does someone can help me?<br><br>TIA<br>Micheus<br>