getintvalue
getintvalue |
Purpose
Get integer contained within
basicvalue
Synopsis
function xreflect~getintvalue(bv:xreflect~basicvalue):integer
Argument
bv
|
The basicvalue to query
|
Return value
The integer value from the basicvalue
Example
The following:
myval := basicvalue(17) writeln('intvalue=',myval.intvalue)
produces this output:
intvalue=17
Further information
If the referenced
basicvalue does not contain an integer, a reasonable type conversion will be applied.
Related topics