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