Jump to content

Bug report


Recommended Posts

I couldnt post it in report forum, si i posted it here

$var = IniReadSection("install.ini","install")
If @error Then 
    MsgBox(4096, "", "Error occurred, probably no INI file.")
Else
    For $i = 1 To $var[0][0]
        MsgBox(4096, "", "Key: " & $var[$i][0] & @CRLF & "Value: " & $var[$i][1])
    Next
EndIf

Return = "Error occurred, probably no INI file."

MsgBox(4096, "", FileExists("install.ini"))

Return = 1

Link to comment
Share on other sites

I couldnt post it in report forum, si i posted it here

$var = IniReadSection("install.ini","install")
If @error Then 
    MsgBox(4096, "", "Error occurred, probably no INI file.")
Else
    For $i = 1 To $var[0][0]
        MsgBox(4096, "", "Key: " & $var[$i][0] & @CRLF & "Value: " & $var[$i][1])
    Next
EndIf

Return = "Error occurred, probably no INI file."

MsgBox(4096, "", FileExists("install.ini"))

Return = 1

Does the section "install" exist?
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

yes

Then can you show a sample of the ini file so we can try to reproduce the problem.
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

au3scr has another post about this http://www.autoitscript.com/forum/index.php?showtopic=71241

I've been asking him for code and a sample of the ini file but no answer yet. Without any further information it would be difficult to decide about it being a bug or not.

SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Link to comment
Share on other sites

I couldnt post it in report forum, si i posted it here

$var = IniReadSection("install.ini","install")
If @error Then 
    MsgBox(4096, "", "Error occurred, probably no INI file.")
Else
    For $i = 1 To $var[0][0]
        MsgBox(4096, "", "Key: " & $var[$i][0] & @CRLF & "Value: " & $var[$i][1])
    Next
EndIf

Return = "Error occurred, probably no INI file."

MsgBox(4096, "", FileExists("install.ini"))

Return = 1

if your ini file is formatted as in your other post

[general]

HideGUI=0

[install]

firefox

thunderbird

then the [install] section is not formatted correctly!

You at least need an equals sign after the key names

[general]
HideGUI=0

[install]
firefox= 
thunderbird=
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...