byserkann
02-08-2009, 03:50 AM
Hello, I am Projext text to file open and read end.
ADD button Click
Programlar = Input.GetText("Input1");
TextFile.WriteFromString("AutoPlay\\Txt\\ProgramListesi.txt","\r"..Programlar, true);
ListBox.DeleteItem("ListBox1", -1);
-- A while loop
testvar = 0;
while (testvar < 100) do
-- Do something here
testvar = testvar + 1;
ch_name = TextFile.ReadToTable("AutoPlay\\TXT\\ProgramListesi.txt");
ListBox.AddItem("ListBox1", ch_name[testvar]);
end
Code error picture...
Helpp meeee
ADD button Click
Programlar = Input.GetText("Input1");
TextFile.WriteFromString("AutoPlay\\Txt\\ProgramListesi.txt","\r"..Programlar, true);
ListBox.DeleteItem("ListBox1", -1);
-- A while loop
testvar = 0;
while (testvar < 100) do
-- Do something here
testvar = testvar + 1;
ch_name = TextFile.ReadToTable("AutoPlay\\TXT\\ProgramListesi.txt");
ListBox.AddItem("ListBox1", ch_name[testvar]);
end
Code error picture...
Helpp meeee