Jump to content

convert string to int


Recommended Posts

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

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...