Explorar el Código

cookbooks/devel/pseudovariables: docs for $envn(name)

Daniel-Constantin Mierla hace 5 meses
padre
commit
1e1c5f3e51
Se han modificado 1 ficheros con 10 adiciones y 0 borrados
  1. 10 0
      docs/cookbooks/devel/pseudovariables.md

+ 10 - 0
docs/cookbooks/devel/pseudovariables.md

@@ -1003,6 +1003,16 @@ Example:
 xdbg("PATH environment variable:  $env(PATH)\n");
 ```
 
+## $envn(NAME) - environment variables as number
+
+**$envn(NAME)** - value-as-number of the environment variable named NAME
+
+Example:
+
+``` c
+xdbg("COUNT environment variable:  $envn(COUNT)\n");
+```
+
 ## $avp(id) - AVPs
 
 **$avp(id)** - the value of the AVP identified by 'id'.