From OpenSCADAWiki
Templates/definitions:
- NSTR_BUF_LEN — length of string buffers for numbers (50 symbols);
- CFG_A_LEN — maximum attribute size of the configuration cell in XML (100 symbols);
- DAQ_APER_FRQ — frequency of representing the aperiodic invokes, like to "f_start", of the periodic processes in Hz (1000000);
- RECURS_DET_HOPS — hops/depth number of the recursion detection;
- ARCH_BUF — name of requesting the messages buffer ("<buffer>");
- ARCH_ALRM — name of requesting the actual alarms table ("<alarms>");
- ARCH_ALRM_CH — name of requesting for records change of the the actual alarms table ("<alarmsChange>");
- ARCH_NOALRM — name of requesting for the buffer and archivers and without the actual alarms table ("<noalarms>");
- DB_GEN — code name of the Generic Storage ("<gen>");
- DB_CFG — code name of the Configuration File ("<cfg>");
- DB_NULL — mark of the DB NULL value ("<NULL>");
- __func__ — the full name of the calling function;
- vmin (a,b) — determination of the minimum value;
- vmax (a,b) — definition of the maximum value;
- starts_with(str) — link to STL::String function compare(0,strlen(str),str) == 0 to replace compare() and find() in this role.