09-03-2010, 11:11 AM
Thanks i'll check that cursor thing.
Why doesn't that code work:
i created and opened a file in notepad (so it is supposed to be locked).
File.f ("sometextfile.txt")
rep
,if(!f.write("crap") continue
,break (<----- when i close notepad it should be writable and i must get out the rep loop)
I think it's an indentation issue..
i sometimes miss the simplicity of the While and Until functions.........
Why doesn't that code work:
i created and opened a file in notepad (so it is supposed to be locked).
File.f ("sometextfile.txt")
rep
,if(!f.write("crap") continue
,break (<----- when i close notepad it should be writable and i must get out the rep loop)
I think it's an indentation issue..
i sometimes miss the simplicity of the While and Until functions.........