Sign in to follow this  
Followers 0
qwertylol

file write

3 posts in this topic

I need to create a file and then do file write like this

create a file(aaa.txt)

$array = winlist("title")

$counter = 0

Do

$counter = $counter + 1

filewriteline ( "sada, bada")

Until $counter = $array[0][0]

Share this post


Link to post
Share on other sites



Please look in the helpfile.

$file = FileOpen("aaa".txt)
$array = WinList()
$counter = 0
Do  
    FileWriteLine($file, "sada, bada")
    $counter = $counter + 1
Until $counter = $array[0][0]

IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0