.ExternData.Interfaces.INI.getReal

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=65.2 ;this is a comment

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

Interface

partial function getReal
  extends Interfaces.partialGetReal;
  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 getReal;

Generated at 2024-11-26T19:26:15Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos