Is it possible to write comments into .Ini files using the WriteINI function? If so please tell me, thank you.
- Barrier
Is it possible to write comments into .Ini files using the WriteINI function? If so please tell me, thank you.
- Barrier
SCAR Code:program New;
procedure Example;
var
INIData: String;
begin
WriteINI('Example #1', 'Example', 'This is example number one', 'C:\Example.ini');
WriteINI('Example #2', 'Example', 'This is example number two', 'C:\Example.ini');
INIData := ReadINI('Example #1', 'Example', 'C:\Example.ini');
Writeln(INIData);
INIData := ReadINI('Example #2', 'Example', 'C:\Example.ini');
Writeln(INIData);
end;
begin
ClearDebug;
Example;
Writeln('See that?');
Writeln('Now open up C:\Example.ini to show what it created :)');
end.
There are currently 1 users browsing this thread. (0 members and 1 guests)