Jump to content

Ini(doesn't)Read


Mack
 Share

Recommended Posts

how doesn't it work?

what does the ini file look like?

where are you sending the data?

What is this?

Send("& $par[$i][1] & ")

shouldn't it be?

Send("& $PAS1[$i][1] & ")

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

Your comments don't work either...

HOW doesn't it work: Do you get an error message? Are you getting that MsgBox you have coded in?

SHOW us an example of the INI file: Actually copy and paste a sample of the INI you're working with and let us see it.

Providing us this information will help us try the script ourselves to see if we can figure out what the problem is. Any mook can post code like this...

_Totally()
For $i = 0 to 25
  _Awesome()
Next

...and then whine that it doesn't work. But we can't help them because we don't know what the _Totally() and _Awesome() functions do. Just like in your case, we can't help you because we don't know what's in your INI file. Or what errors you're getting. Perhaps you don't have the INI in the right folder? Try specifying a full path to it.

And last, whether you want the $par variable or the $PAS1 variable, this piece of code won't work.

Send("& $par[$i][1] & ")

Putting quote marks (") around that text means it will try to actually print it exactly, giving you a string of text that says & $par[$i][1] & .

Try this:

Send($par[$i][1])

In the future, remember, you have to help us, to help you.

*Edit: Typo

Edited by Saunders
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...