Hellfire Posted April 27, 2006 Share Posted April 27, 2006 (edited) How can I convert a integer into a string. Since the following are not working. $int=FileReadLine($file,3) + 1 _FileWriteToLine($file,3,$int,1) Or _FileWriteToLine($file,3,FileReadLine($file,3) + 1,1) Edited April 27, 2006 by Hellfire Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted April 27, 2006 Share Posted April 27, 2006 just quick thing are you sure your including file.au3 #include <file.au3> Link to comment Share on other sites More sharing options...
Hellfire Posted April 27, 2006 Author Share Posted April 27, 2006 (edited) Yes I am. I also tried: _FileWriteToLine($file,4,"test",1) And it did not work either. Other functions that use file.au3 are working in my script though, such as _FileCreate and _FileCountLines. Edited April 27, 2006 by Hellfire Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 27, 2006 Moderators Share Posted April 27, 2006 Yes I am.I also tried:_FileWriteToLine($file,4,"test",1)And it did not work either.Other functions that use file.au3 are working in my script though, such as _FileCreate and _FileCountLines.Use Alt+F5 in SciTe editor when trying to use Beta functions. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
greenmachine Posted April 27, 2006 Share Posted April 27, 2006 Use String() to change a number to a string, use Number() to change a string to a number. Link to comment Share on other sites More sharing options...
CyberSlug Posted April 27, 2006 Share Posted April 27, 2006 What is your goal? ; Not a great example, but might be what you are wanting.... $two = 1 + 1 $eleven = 1 & 1 MsgBox(0, $two, $eleven) Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now