Documentation Internal Variables
From RLIB
Internal Variables
- pageno - Current Page
- totpages - Total Pages
- value - "rval" of the "value" in a field. This is handy for formatting.
- lineno - Current Line Number
- detailcnt - Current Detail Row
- format - Format
RLIB internal variables are referenced by a "r.variablename" in RLIB xml.
Environment Variables
Environment variables are variable data that gets exported from the native programming language environment. In RLIB they are referenced as "m.variablename".
Example, PHP part:
$myvar = 5;
Example, XML part:
<field value="m.myvar" width="10" align="right"/>
In PHP global variables can be referenced. In C language, the shell environment variables can also be referenced.
Variable Variables
The third type of variable is defined within the XML <Variables> section. In RLIB they are referenced as "v.variablename".
