* Function #+name: myFunction #+BEGIN_SRC sh :var A="" :noweb yes echo $A #+END_SRC * Test 1 - FAILS #+CALL: myFunction[:results output](A="aaa") :noweb-ref mynoweb #+RESULTS: myFunction[:results output](A="aaa"):noweb-ref mynoweb : aaa Expect: ": aaa" : #+header: :noweb yes #+begin_src sh <> #+end_src #+RESULTS: * Test 2 - FAILS #+CALL: myFunction[:results output :noweb yes](A="aaa") :noweb-ref mynoweb2 #+RESULTS: myFunction[:results output :noweb yes](A="aaa"):noweb-ref mynoweb2 : aaa Expect: ": aaa" : #+header: :noweb yes #+begin_src sh <> #+end_src #+RESULTS: * Test 3 - FAILS #+CALL: myFunction[:results output :noweb yes](A="aaa") :noweb yes :noweb-ref mynoweb3 #+RESULTS: myFunction[:results output :noweb yes](A="aaa"):noweb yes :noweb-ref mynoweb3 : aaa Expect: ": aaa" : #+header: :noweb yes #+begin_src sh <> #+end_src #+RESULTS: * Test 4 - WORKS Testing the :noweb-ref PROPERTY ** function :PROPERTIES: :noweb-ref: mynoweb4 :END: #+BEGIN_SRC sh :var A="" :noweb yes echo $A #+END_SRC ** result #+header: :noweb yes #+begin_src sh <> #+end_src #+RESULTS: | | | noCall | * Test 5 - FAILS Testing the :noweb-ref PROPERTY with a CALL ** function :PROPERTIES: :noweb-ref: mynoweb5 :END: #+CALL: myFunction[:results output](A="aaa") ** result #+header: :noweb yes #+begin_src sh <> #+end_src #+RESULTS: * Test 6 - WORKS #+name: noCall #+header: :noweb yes :noweb-ref mynoweb4 #+begin_src sh echo "noCall" #+end_src #+RESULTS: noCall : noCall Expect: ": noCall" : #+header: :noweb yes #+begin_src sh <> #+end_src #+RESULTS: : noCall