User Tools

Site Tools


api:dk11:delphi:gisinternals.lstreadboolean_tgis_stringlist_string_boolean

Table of Contents

LstReadBoolean method

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

Read parameter from list formatted as name=value.

Syntax

// Delphi
function LstReadBoolean(
  const _list : TGIS_StringList;
  const _name : String;
  const _default : Boolean
) : Boolean;
// C++ Builder
extern DELPHI_PACKAGE bool LstReadBoolean(
  TGIS_StringList* const _list,
  const UnicodeString _name,
  const bool _default
);

Parameters

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

Result

Type Description
Boolean Parameter value or default if value is or unrecognized.
2018/08/11 01:13