abfGetReaderTargetVersion()

Returns the version passed to the reader by HyperGraph. This is the version of HyperGraph that the reader should try to match itself to.

Syntax

doubleabfGetReaderTargetVersion();

Return Value

The version number

Example

If the reader behavior has changed between HyperGraph 11.0 and HyperGraph 13.0, but HyperGraph asks for the 11.0 behavior, the reader should provide that behavior.

if (abfGetReaderTargetVersion() < 13.0)
{
    abfCreateDatatype(“Old datatype name”);
}
else
{
    abfCreateDatatype(“New datatype name”);
}