MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / Set

Method Set

sourcecommon/saveini.cpp:24–38  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

22}
23//---------------------------------------------------------------------------
24void TSaveParamsINI::Set(AnsiString Section, AnsiString name, Variant value)
25{
26 try
27 {
28 if( !f )
29 Load(fFile);
30 if( f )
31 {
32 AnsiString v = value;
33 f->WriteStringNOCR(Section.c_str(), name.c_str(), v.c_str());
34 }
35 }
36 catch(...)
37 {}
38}
39//---------------------------------------------------------------------------
40Variant TSaveParamsINI::Get(AnsiString Section, AnsiString name, Variant defval)
41{

Callers

nothing calls this directly

Calls 1

WriteStringNOCRMethod · 0.80

Tested by

no test coverage detected