[求助]類型不匹配? [金字塔]
- 咨詢內(nèi)容:
哪寫錯(cuò)了?
runmode:1;
test:='test';
<%
set oexcel=createobject("excel.application")
oexcel.visible=true
oexcel.workbooks.add
test=ffl.strvardata("test")
oexcel.cells(1,1)=test(1)
%> - 金字塔客服:
test 不是個(gè)數(shù)組
- 用戶回復(fù):
以下是引用admin在2011-12-5 15:14:44的發(fā)言:
test 不是個(gè)數(shù)組runmode:1;
variable:test[1]='';
test[1]:='test';
<%
set oexcel=createobject("excel.application")
oexcel.visible=true
oexcel.workbooks.add
test=ffl.strvardata("test")
oexcel.cells(1,1)=test(1)
%>這么寫也不行呀!
[此貼子已經(jīng)被作者于2011-12-5 15:17:59編輯過] - 網(wǎng)友回復(fù):
runmode:1;
test:='test';
<%
set oexcel=createobject("excel.application")
oexcel.visible=true
oexcel.workbooks.add
test=ffl.strvardata("test")
oexcel.cells(1,1)=test
%> - 網(wǎng)友回復(fù):
runmode:1;
variable:test[1]='';
test[1]:='test';
<%
set oexcel=createobject("excel.application")
oexcel.visible=true
oexcel.workbooks.add
test=ffl.strvardata("test")
oexcel.cells(1,1)=test(1)
%>這么寫為啥不行?
相關(guān)文章
-
沒有相關(guān)內(nèi)容