![]() |
loop problem.
Hi all,
I'va got a problem on a loop. the subject is to read lines of a text file A and write these lines in an xml file. the FileRead Function reads all the lines (confirmed by DetailPrint). I think the line are written in the xml. But the result is: my XML file only contains PHP Code:
Here's my code: PHP Code:
|
When I replace $InfoPDVTxt and $InfoPDVTemp with actual filenames, your code works just fine here. The problem must be elsewhere in your code.
Unrelated: I think you don't need the FileSeek $0 0 END lines. |
You are right. Sorry for that.
And thank you for the advice about FileSeek. So i'm on my way to find the problem. |
Use w not a for the write mode and put another ClearErrors before loop:.
That should narrow down some more. Stu |
Ok,
That 's what I did juste before your answer. thank you |
| All times are GMT. The time now is 17:24. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.