File:japan/solution.htm
Method:array.get(index)
~index:(2)
越界或超过范围
japan/xmls/news.xmls
...tId,['AreaId={$shell[AreaId]} and Status=1 and CatalogId={@cid}']);
@querycon[ParentId]=@parentId;
@[email protected](*,['AreaId={$shell[AreaId]} and Status=1 and ParentId={*ParentId}']);
}
@[email protected](@format);
$return(@list);
}

$sub solutionsss(format){
@cid=$argv(0,0);
@querycon=$query(catalog,content);
@querycon[CatalogId]=@cid;
@[email protected](CatalogPath,['AreaId={$shell[AreaId]} and Status=1 and CatalogId={*CatalogId}']);
@slip=$string(@path).split(\,)
[2];
@querycon[CatalogId]=@slip;
@[email protected](CatalogName,['AreaId={$shell[AreaId]} and Status=1 and CatalogId={*CatalogId}']);
$return(@cataName);
}

//案例
$sub caselist(format,id){
@query=$query(content,content);
@query[ContentId]=@id;
@[email protected](*,['Status>0 and AreaId={$shell[AreaId]} and ContentId ={*ContentId}']);
@[email protected](@format);
$return(@cont);
}
$sub caselistdae(format){
@id=$argv(0,0);
@querycon=$query(content,content);
@tablegs=@queryc...