天软金融分析.NET函数大全
>
数据仓库函数
>
系统参数名称函数
pn_NilTrans
复制链接
简述
NIL在COM中转换的行为。
假如用户在其他的本地应用中与外部COM打交道,例如调用EXCEL,那么用户可以在TSL中设置该系统参数的方式来调整NIL对COM数据类型转换的行为。
设置的值可为下列值(默认为0):
0: 转换为Unassigned
1: 转换为Empty
2: 转换为NULL
3: 转换为NaN
4: 转换为整数0
5: 转换为浮点0
6: 转换为空字符串
7: 转换为'NIL'字符串
8: 转换为'NULL'字符串
9: 转换为'-'字符串
10: 转换为'/'字符串
其他值: 转换为Unassigned
定义
pn_NilTrans():String;
范例
matlab调用
//matlab代码
ts=actxserver('TSExpert.CoExec')
ts.SetSysParam('NilTrans',9)
ts.RemoteExecute('return array((1,2,nil,4),(2,nil,3,nil));')
//返回:
参考
SetSysParam
GetSysParam
pn_Stock
pn_Date
pn_Rate
pn_RateDay
pn_nDay
pn_Cycle
pn_ViewPoint
pn_FreeCycle
pn_ReportMode
相关
pn_Stock
pn_Date
pn_Rate
pn_RateDay
pn_nDay
pn_Cycle
pn_Precision
pn_NilTrans
Pn_I64Trans
pn_ViewPoint
pn_FreeCycle
pn_ReportMode
Pn_Emptymode
pn_ChangedDateMode
cyclefilter
pn_ReportType
pn_NoRaiseNoData
pn_CalcCTRLWord