Jump to content

Array Problem


Recommended Posts

This returns a message that says "Array variable has incorrect number of subscripts or subscript limit reached."

Do
    $1 = _StringEncrypt(0, IniRead(@ScriptDir & "\PasswordSafeData.data", "Passwords", "P" & $num & "S", ""), $password)
    $2 = _StringEncrypt(0, IniRead(@ScriptDir & "\PasswordSafeData.data", "Passwords", "P" & $num & "U", ""), $password)
    $lv[$num] = GUICtrlCreateListViewItem($1 & "|" & $2, $pwords)
    $num = $num - 1
Until $num = 0

Any help?

Link to comment
Share on other sites

Show me the Dim for $lv[$num]

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...