import fsys.ini var strTemp; ini = fsys.ini("E:\Test\aardio\aaa.ini"); //写 ini.write("节1","项1","aaa1"); ini.write("节1","项2","bbb2"); //读 strTemp = ini.read("节1","项1"); mainForm.edt_1.text = strTemp;