Bläddra i källkod

ncd: modules: call: document _caller.variable

ambrop7 14 år sedan
förälder
incheckning
e2a2afb32d
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      ncd/modules/call.c

+ 2 - 0
ncd/modules/call.c

@@ -26,6 +26,8 @@
  * Description:
  * Description:
  *   Module which allows using a single statement to represent multiple statements
  *   Module which allows using a single statement to represent multiple statements
  *   in a process template, allowing reuse of repetitive code.
  *   in a process template, allowing reuse of repetitive code.
+ *   The created template process can access variables and objects as seen from the
+ *   call statement via "_caller.variable".
  * 
  * 
  * Variables:
  * Variables:
  *   Exposes variables as seen from the end of the called process template.
  *   Exposes variables as seen from the end of the called process template.