User Tools

Site Tools


api:dk11:delphi:gisinternals.lstreadinteger_tgis_stringlist_string_integer

Table of Contents

LstReadInteger method

DK11 for Delphi | GisInternals.LstReadInteger | Enums | Fields | Methods | Types

Read parameter from list formatted as name=value.

Syntax

// Delphi
function LstReadInteger(
  const _list : TGIS_StringList;
  const _name : String;
  const _default : Integer
) : Integer;
// C++ Builder
extern DELPHI_PACKAGE int LstReadInteger(
  TGIS_StringList* const _list,
  const UnicodeString _name,
  const int _default
);

Parameters

Name Type Description
_list TGIS_StringList list to be read from
_name String parameter name
_default Integer default value to be used if name does not exists or is empty

Result

Type Description
Integer Parameter value as Integer.
2017/09/04 11:15