Jump to content
Sign in to follow this  
pl4y0n

Array ERROR

Recommended Posts

yes i had but firt i used IniWriteSection and dosen't wrok too :unsure:

Jos was right U missed some parameters.

Try:

#include <array.au3>
Local $text = "text"
Local $i
For $i = 100 To 0 Step -1
    $section = $text & $i; <<< =====  You also tried using an Array. Try this instead or Declare the array first!
    IniWrite("myfile.ini", $section, "key", $i); <<< ==== parameters 
Next
Sleep(500)
ShellExecute("myfile.ini")

== Removed duplicate ==

Edited by JoHanatCent

Share this post


Link to post
Share on other sites

Jos was right U missed some parameters.

Try:

#include <array.au3>
Local $text = "text"
Local $i
For $i = 100 To 0 Step -1
    $section = $text & $i; <<< =====  You also tried using an Array. Try this instead or Declare the array first!
    IniWrite("myfile.ini", $section, "key", $i); <<< ==== parameters 
Next
Sleep(500)
ShellExecute("myfile.ini")

== Removed duplicate ==

For $i = 100 To 0 Step -1 = For $i = 100 To 0 -1 ????

anyway thx for help!!

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...