ContinuedMatchOfNReport
简述
当前时间ReportID向前推N年,若从ReportID-N到ReportID时间均存在报告Exp则返回1,否则返回0,与系统参数(股票)相关。
ContinuedMatchOfNReport(Exp:Expr;ReportID:integer;N:integer):Boolean
名称 | 类型 | 说明 |
---|
Exp | Expr | 布尔公式表达式 |
ReportID | integer | 报告期 |
N | integer | 整数 |
返回 | Boolean | 整数 |
判断2014到2015这两年平安银行年报是否全部存在
SetSysParam(pn_stock(),'SZ000001');
return ContinuedMatchOfNReport(@reportofall(46002,GetSysParam('DefaultRepID')),20151231,2);
//返回:1