Sign in to follow this  
Followers 0
MrPook

convert string to int

3 posts in this topic

hi there,

normally, i manage to find with helpfile or the forum the answers to my questions, but here i'm stuck.

Maybe it's because i don't know how to search well for this.

Here is the thing.

I've got an array ($aSplits) with string values inside and I want to modify a value for a list according to $aSplits[2].

what i do is :

_GUICtrlListViewSetItemText($fileList, $aSplits[2], 2, $VAR_VERIFY)

The fact is the method wants an int to run and doesnt like the string.

Thanks for the help.

Pook

Share this post


Link to post
Share on other sites



_GUICtrlListViewSetItemText($fileList, Int($aSplits[2]), 2, $VAR_VERIFY)


AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line

Share this post


Link to post
Share on other sites

_GUICtrlListViewSetItemText($fileList, Int($aSplits[2]), 2, $VAR_VERIFY)

shame on me and thank you so much.

Pook

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