主题:  请教斑竹!急!万分感谢!

不要笑我

职务:普通成员
等级:1
金币:0.0
发贴:20
注册:2002/7/24 17:20:42
#12002/10/31 11:56:41
如何用lingo实现:将外部文件里的内容读出来,传给一个变量



night_5d

职务:普通成员
等级:2
金币:1.0
发贴:275
注册:2000/12/15 21:24:38
#22002/10/31 12:14:27
使用fileIO插件。


[img]http://61.144.28.245/hjc/web/non-cgi//usravatars/paladin.gif[/img]
I thirst for freedom

酷狗

职务:版主
等级:2
金币:10.0
发贴:610
注册:2000/9/16 9:26:36
#32002/10/31 15:44:17
theNetID = getNetText ("c:\boot.ini")
vartext = netTextResult(theNetID)



龙眼AM

职务:普通成员
等级:1
金币:0.0
发贴:5
注册:2002/10/25 16:05:35
#42002/11/1 16:58:16
请问楼上的,这样做可以用在FLASH文件中吗?另外,fileI0是指什么啊?我是初学LINGO者,比较菜啊。:)



酷狗

职务:版主
等级:2
金币:10.0
发贴:610
注册:2000/9/16 9:26:36
#52002/11/1 19:19:47
flash与D的语法函数是不一样的!FileIO是一个XTRAS



thirdprince

职务:普通成员
等级:1
金币:0.0
发贴:3
注册:2002/11/7 10:45:20
#62002/11/9 13:27:44
global myPath
set myFile = new(xtra "fileio")
openFile(myFile, the moviepath&"txt\jzxz.txt",0)
set mytext=readFile(myFile)