Gentee Programming Language > Documentation > Libraries Download documentation

ini.getvalue

Get the value of an entry.
 
uint ini.getvalue(
      str   section,
      str   key,
      str   value,
      str   defval
)

Parameters

sectionSection name.
keyKey name.
valueThe string for getting the value.
defvalThe value to be assigned if the entry is not found.

Return value

Returns 1 if the entry is found and 0 otherwise.

See also

    Working with INI files


 Copyright © 2004-2006 Gentee Inc. All rights reserved.