User Tools

Site Tools


api:dk11:delphi:gisfile8211.tgis_ddfmodule.ddffetchvariable_tbytes_integer_integer_integer_integer_integer

Table of Contents

TGIS_DDFModule.DDFFetchVariable method

DK11 for Delphi | GisFile8211.TGIS_DDFModule.DDFFetchVariable | Constructors | Methods | Properties

Retrieves a string value from a buffer.

Available also on: .NET | Java.

Syntax

// Delphi
public
  function DDFFetchVariable(
    const _record : TBytes;
    const _offset : Integer;
    const _maxChars : Integer;
    const _nDelimChar1 : Integer;
    const _nDelimChar2 : Integer;
    var _pnConsumedChars : Integer
  ) : String;
// C++ Builder
public:
  UnicodeString DDFFetchVariable(
    TBytes* const _record,
    const int _offset,
    const int _maxChars,
    const int _nDelimChar1,
    const int _nDelimChar2,
    int &_pnConsumedChars
  );

Parameters

Name Type Description
_record TBytes source buffer
_offset Integer buffer offset
_maxChars Integer maximum number of characters to read
_nDelimChar1 Integer first delimiting character
_nDelimChar2 Integer second delimiting character
_pnConsumedChars Integer number of consumed characters

Result

Type Description
String retrieved integer
2020/05/07 01:07

Page Tools