Changeset 13 for trunk/UAutoRegistry.pas
- Timestamp:
- Feb 11, 2008, 2:14:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UAutoRegistry.pas
r2 r13 30 30 31 31 implementation 32 33 uses 34 Dialogs, SysUtils; 32 35 33 36 constructor TAutoRegistry.Create(Path: string); … … 82 85 OpenKey(FPath, True); 83 86 for I:= 0 to High(FItems) do with FItems[I] do begin 84 if Typ =1 then WriteInteger(Nazev,Integer(Data^)) else85 if Typ =3 then WriteBool(Nazev,Boolean(Data^)) else86 if Typ =4 then WriteFloat(Nazev,real(Data^)) else87 if Typ =2 then WriteString(Nazev,string(Data^));87 if Typ = 1 then WriteInteger(Nazev,Integer(Data^)) else 88 if Typ = 3 then WriteBool(Nazev,Boolean(Data^)) else 89 if Typ = 4 then WriteFloat(Nazev, real(Data^)) else 90 if Typ = 2 then WriteString(Nazev, string(Data^)); 88 91 end; 89 92 finally
Note:
See TracChangeset
for help on using the changeset viewer.