User Tools

Site Tools


api:dk11:delphi:gisinternals.lstreadfloat_tgis_stringlist_string_double

Table of Contents

LstReadFloat method

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

Read parameter from list formatted as name=value.

Syntax

// Delphi
function LstReadFloat(
  const _list : TGIS_StringList;
  const _name : String;
  const _default : Double
) : Double;
// C++ Builder
extern DELPHI_PACKAGE double LstReadFloat(
  TGIS_StringList* const _list,
  const UnicodeString _name,
  const double _default
);

Parameters

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

Result

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