.ExternData.Interfaces.INI.getInteger

Information

If strict=true and the line being read contains more than a name=value pair this function will return an error. However, when strict=false it will return the value and ignore the rest of the line.

For example

[example_section]
name=13 ;this is a comment

In this example, if strict=true we will get an error but if strict=false it will return the value 13

Interface

partial function getInteger
  extends Interfaces.partialGetInteger;
  input String section = "" "Section";
  input Types.ExternINIFile ini "External INI file object";
  input Boolean strict = true "Return an error if there are characters on the line that aren't part of the value";
end getInteger;

Generated at 2024-12-26T19:25:54Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos