游戏脚本管理 (一)(7)

2008-04-09 04:23:02来源:互联网 阅读 ()

新老客户大回馈,云服务器低至5折

) then
break;
strParam
:= strParam cCurrChar;
inc
(g_iCurrScriptLineChar, 1);
end
;

end
;

procedure TScript
.LoadScript(AFile: string);
begin
if FileExists(AFile) then
FCommandList
.LoadFromFile(AFile)
else
raise Exception
.Create(''''无效的脚本文件'''');
end
;

procedure TScript
.RunScript;
var
strCommand
: string;
strParam
: string;
intParam
: integer;
i
: Integer;
iCurr
: integer;
sResult
: string;
begin
if FCommandList.Count < 0 then
Exit
;
sResult
:= '''''''';

for i := 0 to FCommandList

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:2004.11.27.What''''s New in Delphi 2005

下一篇:dbgrideh如何实现点击标题排序