Returns various system and application information values.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X X   X


expr sysinfo(option)
int          option


Sysinfo returns an expression for various system and application information. The valid option values are defined in trim.h:
sysinfo_bitsInteger The CPU word's bitsize.
sysinfo_dyncursList Returns a three column list of the current cached dynamic cursors: Logical cursor #, Select statement length, Select statement text. The maximum number of cached dynamic cursors is controlled by the dynamic_cursors setting in dv.ini/trim.ini.
sysinfo_heapsizeInteger The minimum heap size for the application. This is the value of heap_block_size in dv.ini/trim.ini.
sysinfo_memoryInteger The total amount of memory allocated by the application.