找回密码
 加入
搜索
查看: 2216|回复: 5

[系统综合] 关于读取ini文件的小问题![已解决]

[复制链接]
发表于 2011-10-21 00:34:05 | 显示全部楼层 |阅读模式
本帖最后由 mtvtop 于 2011-12-3 00:29 编辑

我执行这个代码报错,请问是哪错了,谢谢
Local $Account = IniReadSection("Config.ini", "坐标") ;读配置文件(*.ini)字段的 账号 与值.
$ServerUrl = IniReadSection("Config.ini", "分区")
$AccountType = IniRead("Config.ini", "帐号类型", "AccountType", "0")

For $i = 1 To $Account[0][0]
        $comAccount = $comAccount & "|" & $Account[$i][0]
        MsgBox(4096, "", "关键字: " & $Account[$i][0] & @CRLF & "值: " & $Account[$i][1])
Next
 楼主| 发表于 2011-10-21 01:23:37 | 显示全部楼层
请问有人帮忙呀
发表于 2011-10-21 02:11:44 | 显示全部楼层
看看~~~~~~~~~
发表于 2011-10-21 03:11:39 | 显示全部楼层
请把INI文件贴出来
发表于 2011-10-21 03:12:33 | 显示全部楼层
$comAccount 没有声明的嘛
发表于 2011-10-21 03:36:17 | 显示全部楼层
$comAccount 没有声明的嘛
805333 发表于 2011-10-21 03:12



    至少有这个问题~ LZ为何不贴出错误提示?
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-10-1 12:10 , Processed in 0.140076 second(s), 24 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表