📝 docs(tsl): sync api skill with corrected codegen

Mirror docs/tsl/codegen into the bundled tsl-api-reference skill and rebuild the function index.

Remove invalid duplicate API entries for cb_delistedbydate, createhttpsession, exportJsonString, and Anova_Bartlett so exact lookup returns the canonical entries.
This commit is contained in:
csh
2026-07-07 16:47:03 +08:00
parent bbf6977f57
commit c0bf0358e0
278 changed files with 45212 additions and 35782 deletions
@@ -4,14 +4,14 @@
将本地的文件读取出来。文件格式可以是字符流、整数流、实数流、字节流等。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `data_type` | integer | 整数类型。参考文件读写类型函数。 |
| `alias` | string | 字符串类型。参考目录别名。 |
| `file_name` | string | 字符串类型。文件名称。 |
| `pos` | integer | 整数类型。读文件的偏移位置,执行结束后将返回新的位置。 |
| `length` | integer | 整数类型。需要读入的数据长度,一次读取的最大长度为100w。 |
| `data` | | 当读文件执行出错,则存贮错误信息,如果执行正确,则用来存贮读出的数据。如果文件类型为rwRaw或者rwBinary则返回一个长度为Length的字符串或者二进制流,否则,返回一个长度为Length的数组。例如类型为rwReal就是返回一个实数数组。 |
| 参数 | 类型 | 说明 |
| ----------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `data_type` | integer | 整数类型。参考文件读写类型函数。 |
| `alias` | string | 字符串类型。参考目录别名。 |
| `file_name` | string | 字符串类型。文件名称。 |
| `pos` | integer | 整数类型。读文件的偏移位置,执行结束后将返回新的位置。 |
| `length` | integer | 整数类型。需要读入的数据长度,一次读取的最大长度为100w。 |
| `data` | | 当读文件执行出错,则存贮错误信息,如果执行正确,则用来存贮读出的数据。如果文件类型为rwRaw或者rwBinary则返回一个长度为Length的字符串或者二进制流,否则,返回一个长度为Length的数组。例如类型为rwReal就是返回一个实数数组。 |
返回:bool
@@ -45,13 +45,13 @@ return ret;
将文件压缩到ZIP文件中,如果压缩文件不存在,函数会创建一个。ZIP格式的压缩不支持加密。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `zip_alias` | string | 字符串,ZIP文件的目录别名 |
| `zip_filename` | string | 字符串,ZIP文件名称 |
| `alias` | string | 字符串,被压缩文件的目录别名 |
| `filename` | string | 字符串,文件名称 |
| `path` | string | 字符串,文件在ZIP文件中的路径 |
| 参数 | 类型 | 说明 |
| -------------- | ------ | ----------------------------- |
| `zip_alias` | string | 字符串,ZIP文件的目录别名 |
| `zip_filename` | string | 字符串,ZIP文件名称 |
| `alias` | string | 字符串,被压缩文件的目录别名 |
| `filename` | string | 字符串,文件名称 |
| `path` | string | 字符串,文件在ZIP文件中的路径 |
返回:bool
@@ -68,13 +68,13 @@ zipCompress('', 'd:\\a.zip', '', 'd:\\tmp', 'test');
将ZIP文件解压到指定目录
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `zip_alias` | string | 字符串 ZIP文件的目录别名 |
| `zip_filename` | string | 字符串 ZIP文件名称 |
| `alias` | string | 字符串,文件解压目录别名 |
| `path` | string | 字符串,文件解压路径 |
| `password` | string | 字符串,可选参数,加密密码 |
| 参数 | 类型 | 说明 |
| -------------- | ------ | -------------------------- |
| `zip_alias` | string | 字符串 ZIP文件的目录别名 |
| `zip_filename` | string | 字符串 ZIP文件名称 |
| `alias` | string | 字符串,文件解压目录别名 |
| `path` | string | 字符串,文件解压路径 |
| `password` | string | 字符串,可选参数,加密密码 |
返回:bool
@@ -89,13 +89,13 @@ zipExtract('', 'd:\\a.zip', '', 'd:\\tmp', '123');
将RAR文件解压到指定目录
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `rar_alias` | string | 字符串 RAR文件的目录别名 |
| `rar_filename` | string | 字符串 RAR文件名称 |
| `alias` | string | 字符串,文件解压目录别名 |
| `path` | string | 字符串,文件解压路径 |
| `password` | string | 字符串,可选参数,加密密码 |
| 参数 | 类型 | 说明 |
| -------------- | ------ | -------------------------- |
| `rar_alias` | string | 字符串 RAR文件的目录别名 |
| `rar_filename` | string | 字符串 RAR文件名称 |
| `alias` | string | 字符串,文件解压目录别名 |
| `path` | string | 字符串,文件解压路径 |
| `password` | string | 字符串,可选参数,加密密码 |
返回:bool
@@ -106,84 +106,84 @@ zipExtract('', 'd:\\a.zip', '', 'd:\\tmp', '123');
rarExtract('', 'd:\\a.rar', '', 'd:\\tmp', '123');
```
## `importantItemsCall(stock_arr, end_t, sort_by, return_number)`
## `ImportantItems_Call(stock_arr, end_t, sort_by, return_number)`
上市公司最新主要财务指标排行。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `stock_arr` | array | 数组。股票列表。 |
| `end_t` | datetime | 整数。报告期。 |
| `sort_by` | any | 整数。排序字段,取值如下: |
| `return_number` | any | 整数。返回个数,-1时返回全部。 |
| 参数 | 类型 | 说明 |
| --------------- | -------- | ------------------------------ |
| `stock_arr` | array | 数组。股票列表。 |
| `end_t` | datetime | 整数。报告期。 |
| `sort_by` | any | 整数。排序字段,取值如下: |
| `return_number` | any | 整数。返回个数,-1时返回全部。 |
返回:array
## `flImportFile(import_type, id)`
## `fl_ImportFile(import_type, id)`
ImportFile函数教学函数。导入保存类型为importType的指定ID证券数据文件。若文件不存在则返回'file not exist',若文件导入失败则返回'Import file fail'。其中虚拟目录名为'testdir',用户应申请服务器权限并且建立好该虚拟目录。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `import_type` | any | 用户自定义 |
| `id` | string | 证券 |
| 参数 | 类型 | 说明 |
| ------------- | ------ | ---------- |
| `import_type` | any | 用户自定义 |
| `id` | string | 证券 |
返回:any
## `flWriteFile(b_kname, t)`
## `fl_WriteFile(b_kname, t)`
WriteFile函数教学函数。将指定板块BKname的每一只股票在指定日T的行情数据保存到虚拟目录'testdir'下的'HqData.dat'文件,写出成功则返回'convert finished'。用户应申请好服务器权限,并建立好虚拟目录'testdir'。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `b_kname` | string | 系统板块 |
| `t` | datetime | 日期 |
| 参数 | 类型 | 说明 |
| --------- | -------- | -------- |
| `b_kname` | string | 系统板块 |
| `t` | datetime | 日期 |
返回:any
## `flExportFile(export_type, id, t)`
## `fl_ExportFile(export_type, id, t)`
Export函数教学函数。将指定股票ID的历史报告期十大股东序列数据以exportType文件形式导出到虚拟目录'testdir'下,若导入成功则返回'export success',否则返回'export fail!'。用户应当申请好服务器权限,并建立好虚拟目录'testdir'。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `export_type` | any | 用户自定义 |
| `id` | string | 证券 |
| `t` | any | 日期 |
| 参数 | 类型 | 说明 |
| ------------- | ------ | ---------- |
| `export_type` | any | 用户自定义 |
| `id` | string | 证券 |
| `t` | any | 日期 |
返回:string
## `fsInfoId(infoid)`
## `fs_InfoId(infoid)`
获得基本面数据教学函数。返回截止到2002年6月30日Infoid相关基本面数据。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `infoid` | any | 基本面 |
| 参数 | 类型 | 说明 |
| -------- | ---- | ------ |
| `infoid` | any | 基本面 |
返回:any
## `ftExpression22(rdate)`
## `ft_Expression2_2(rdate)`
表达式函数教学函数。返回指定股票在报告期rdate的资产负债表,与当前系统参数(股票)相关。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| ------- | -------- | ------ |
| `rdate` | datetime | 报告期 |
返回:any
## `ftExpression23(l1)`
## `ft_Expression2_3(l1)`
表达式函数教学函数。返回指定股票在指定日180个序列的L1乖离率,与系统参数(股票,周期,时间,复权相关)
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `l1` | any | 整数 |
| ---- | ---- | ---- |
| `l1` | any | 整数 |
返回:any
## `ftExpression1()`
## `ft_Expression1()`
表达式教学函数。返回当前股票收盘价的5个周期的平均值,与当前系统参数(股票,时间,周期)相关。
@@ -193,8 +193,8 @@ Export函数教学函数。将指定股票ID的历史报告期十大股东序列
加载用户数据TableName,如若TableName非空,则返回TableName数据,否则返回空数组。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| ------------ | ------ | -------------------- |
| `table_name` | string | 字符串,数据文件名称 |
返回:array
@@ -223,12 +223,12 @@ return listTable();
从Excel文件中读出Sheets列表。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `alias` | string | 字符串类型。参考目录别名。 |
| `file_name` | string | 字符串类型。文件名称。 |
| `sheets_name` | array | 返回值。存贮读出的SHEETS名称,存贮为一个一维字符串数组。 |
| `use_ole` | bool=false | 布尔型。是否使用Excel来读取,默认直接采用读文件的方式。设置为真则要求安装Excel。 |
| 参数 | 类型 | 说明 |
| ------------- | ---------- | -------------------------------------------------------------------------------- |
| `alias` | string | 字符串类型。参考目录别名。 |
| `file_name` | string | 字符串类型。文件名称。 |
| `sheets_name` | array | 返回值。存贮读出的SHEETS名称,存贮为一个一维字符串数组。 |
| `use_ole` | bool=false | 布尔型。是否使用Excel来读取,默认直接采用读文件的方式。设置为真则要求安装Excel。 |
返回:bool
@@ -245,16 +245,16 @@ return r;
将数据导出到指定Sheet、指定数据位置Range的excel文件,仅支持Type类型为ftxls()的,为了兼容其他类型,如果输入的类型是非ftxls()的,则执行exportfile导出数据且无法指定Sheet和Range。注:导出时对应的excel文件需要关闭。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `_type` | | 整数类型。参考导入导出类型函数。 |
| `alias` | string | 字符串类型。参考目录别名。 |
| `file_name` | string | 字符串类型。文件名称。 |
| `data` | | 数据,需要导出的数据。 |
| `include_header` | bool | 布尔类型。为真时导出的文件包含字段头部信息。缺省时候为真。 |
| `include_index` | bool | 布尔类型。为真时导出的文件包含数组下标信息。缺省时候为假。 |
| `sheet` | string | 字符串类型,指定Sheet。 |
| `range` | string | 字符串类型,指定单元格,如:”A1”表示要把数据导出到A1开始的单元格。 |
| 参数 | 类型 | 说明 |
| ---------------- | ------ | ----------------------------------------------------------------- |
| `_type` | | 整数类型。参考导入导出类型函数。 |
| `alias` | string | 字符串类型。参考目录别名。 |
| `file_name` | string | 字符串类型。文件名称。 |
| `data` | | 数据,需要导出的数据。 |
| `include_header` | bool | 布尔类型。为真时导出的文件包含字段头部信息。缺省时候为真。 |
| `include_index` | bool | 布尔类型。为真时导出的文件包含数组下标信息。缺省时候为假。 |
| `sheet` | string | 字符串类型,指定Sheet。 |
| `range` | string | 字符串类型,指定单元格,如:”A1”表示要把数据导出到A1开始的单元格。 |
返回:integer|string
@@ -272,17 +272,17 @@ return ret;
导入excel中指定Sheet的内容,可选择指定数据范围Range。仅支持Type类型为ftxls()的,为了兼容其他类型,如果输入的类型是非ftxls()的,则执行importfile导入数据且无法指定数据位置Range。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `_type` | integer | 整数类型。参考导入导出类型函数。 |
| `alias` | string | 字符串类型。参考目录别名。 |
| `file_name` | string | 字符串类型。文件名称。 |
| `data` | bool | 变参返回,存贮导入的数据。当导入成功的时候,数据将存放在Data。 |
| `include_header` | bool | 布尔类型。为真时认为导入的文件包含字段头部信息。缺省时候为真。 |
| `include_index` | bool | 布尔类型。为真时认为导入的文件包含数组下标信息。缺省时候为假。 |
| `force_single` | bool | 布尔类型。为真时认为导入的文件是一个一维数组。缺省时候为假。 |
| `sheet` | string | 字符串类型,指定Sheet。 |
| `range` | string | 字符串类型,指定单元格范围,如果为空导入Sheet的所有数据,非空则必须为excel的Range,如:“A1:E13“。 |
| 参数 | 类型 | 说明 |
| ---------------- | ------- | ------------------------------------------------------------------------------------------------ |
| `_type` | integer | 整数类型。参考导入导出类型函数。 |
| `alias` | string | 字符串类型。参考目录别名。 |
| `file_name` | string | 字符串类型。文件名称。 |
| `data` | bool | 变参返回,存贮导入的数据。当导入成功的时候,数据将存放在Data。 |
| `include_header` | bool | 布尔类型。为真时认为导入的文件包含字段头部信息。缺省时候为真。 |
| `include_index` | bool | 布尔类型。为真时认为导入的文件包含数组下标信息。缺省时候为假。 |
| `force_single` | bool | 布尔类型。为真时认为导入的文件是一个一维数组。缺省时候为假。 |
| `sheet` | string | 字符串类型,指定Sheet。 |
| `range` | string | 字符串类型,指定单元格范围,如果为空导入Sheet的所有数据,非空则必须为excel的Range,如:“A1:E13“。 |
返回:bool
@@ -310,10 +310,10 @@ return "导入失败";
提取用户数据,装入用户表,从name指定的位置将数据导出。TableType参数可省略,默认为0;0或省略时表示装入当前用户表,1表示装入系统表,即可导入系统账号system的用户数据。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `name` | string | 字符串,数据存储位置的名称 |
| `table_type` | bool | 布尔类型,数据类型,可省略,默认为0 |
| 参数 | 类型 | 说明 |
| ------------ | ------ | ----------------------------------- |
| `name` | string | 字符串,数据存储位置的名称 |
| `table_type` | bool | 布尔类型,数据类型,可省略,默认为0 |
返回:any
@@ -344,8 +344,8 @@ return ret;
文件属性字符串转换成文件属性数值。仅NG客户端中支持。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| ----- | ------ | ---------------------------- |
| `str` | string | 字符串类型,文件属性字符串。 |
返回:integer
@@ -362,8 +362,8 @@ return rdo2 strToFileAttr(str1);
文件模式字符串转换成文件模式数值。仅NG客户端中支持。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| ----- | ------ | ---------------------------- |
| `str` | string | 字符串类型,文件模式字符串。 |
返回:integer
@@ -530,11 +530,11 @@ return rdo2 getlogicdrive();
创建一个目标为TargetName名为LinkName的链接。在Linux系统中用的较多。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `link_name` | string | 字符串,指定链接生成的路径及连接名。无路径时默认生成在天软安装目录。 |
| `target_name` | string | 字符串,文件路径。 |
| `hard` | bool | 布尔值,为真表示创建硬链接,否则创建软链接(符号链接)。 |
| 参数 | 类型 | 说明 |
| ------------- | ------ | -------------------------------------------------------------------- |
| `link_name` | string | 字符串,指定链接生成的路径及连接名。无路径时默认生成在天软安装目录。 |
| `target_name` | string | 字符串,文件路径。 |
| `hard` | bool | 布尔值,为真表示创建硬链接,否则创建软链接(符号链接)。 |
返回:bool
@@ -560,8 +560,8 @@ return rdo2 createlink("D:\\test\\txt", path, 0); // 创建一个软链接
获取文件真实路径与名称。如果是链接类型文件,或者所处在一个链接目录中,可以得到该文件的真实存贮位置。在Windows上,返回的是一个UNC名称。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| ------ | ------ | ---------------------------- |
| `name` | string | 字符串,文件路径或链接别名。 |
返回:string
@@ -599,14 +599,14 @@ return rdo2 realpath(path);
将数据导出为文件。支持将INF以及NAN导出到ExcelINF对应为EXCEL的DIV0NAN对应为NA
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `_type` | integer | |
| `alias` | string | |
| `file_name` | string | |
| `data` | any | |
| `include_header` | | |
| `include_index` | bool | |
| 参数 | 类型 | 说明 |
| ---------------- | ------- | ---- |
| `_type` | integer | |
| `alias` | string | |
| `file_name` | string | |
| `data` | any | |
| `include_header` | | |
| `include_index` | bool | |
返回:bool|string
@@ -648,17 +648,17 @@ return r;
从文件中导入数据。对EXCEL文件自动识别.xls或者.xlsx的文件格式,支持将INF以及NAN导入
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `_type` | integer | |
| `alias` | | |
| `file_name` | string | |
| `data` | array | |
| `include_header` | | |
| `include_index` | | |
| `force_single` | bool | |
| `sheet_name` | | |
| `range` | string\|integer | |
| 参数 | 类型 | 说明 |
| ---------------- | --------------- | ---- |
| `_type` | integer | |
| `alias` | | |
| `file_name` | string | |
| `data` | array | |
| `include_header` | | |
| `include_index` | | |
| `force_single` | bool | |
| `sheet_name` | | |
| `range` | string\|integer | |
返回:bool
@@ -721,13 +721,13 @@ return t;
将BOOL值写入INI。如果不存在FileName,或者不存在Section,或者不存在Ident,则其会根据输入的FileNameSectionIdent创建对应的INI文件,INI文件的节名称,INI文件的键名称,并将Bool值Value写入到INI文件指定的键
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `alias` | string | 字符串类型。目录名称 |
| `file_name` | string | 字符串类型。INI文件名称 |
| `section` | string | 字符串类型。INI文件的节名称 |
| `ident` | string | 字符串类型。INI文件的键名称 |
| `value` | bool | 布尔类型。要写入的键值 |
| 参数 | 类型 | 说明 |
| ----------- | ------ | --------------------------- |
| `alias` | string | 字符串类型。目录名称 |
| `file_name` | string | 字符串类型。INI文件名称 |
| `section` | string | 字符串类型。INI文件的节名称 |
| `ident` | string | 字符串类型。INI文件的键名称 |
| `value` | bool | 布尔类型。要写入的键值 |
返回:any
@@ -750,13 +750,13 @@ return ret;
将日期值写入INI。如果不存在FileName,或者不存在Section,或者不存在Ident,则其会根据输入的FileNameSectionIdent创建对应的INI文件,INI文件的节名称,INI文件的键名称,并将日期值Value写入到INI文件指定的键
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `alias` | string | 字符串类型。目录名称 |
| `file_name` | string | 字符串类型。INI文件名称 |
| `section` | string | 字符串类型。INI文件的节名称 |
| `ident` | string | 字符串类型。INI文件的键名称 |
| `value` | tdate | 日期类型。要写入的日期值 |
| 参数 | 类型 | 说明 |
| ----------- | ------ | --------------------------- |
| `alias` | string | 字符串类型。目录名称 |
| `file_name` | string | 字符串类型。INI文件名称 |
| `section` | string | 字符串类型。INI文件的节名称 |
| `ident` | string | 字符串类型。INI文件的键名称 |
| `value` | tdate | 日期类型。要写入的日期值 |
返回:any
@@ -779,13 +779,13 @@ return ret;
将日期时间值写入INI。如果不存在FileName,或者不存在Section,或者不存在Ident,则其会根据输入的FileNameSectionIdent创建对应的INI文件,INI文件的节名称,INI文件的键名称,并将日期时间值Value写入到INI文件指定的键
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `alias` | string | 字符串类型。目录名称 |
| `file_name` | string | 字符串类型。INI文件名称 |
| `section` | string | 字符串类型。INI文件的节名称 |
| `ident` | string | 字符串类型。INI文件的键名称 |
| `value` | tdatetime | 日期时间类型。要写入的日期时间值 |
| 参数 | 类型 | 说明 |
| ----------- | --------- | -------------------------------- |
| `alias` | string | 字符串类型。目录名称 |
| `file_name` | string | 字符串类型。INI文件名称 |
| `section` | string | 字符串类型。INI文件的节名称 |
| `ident` | string | 字符串类型。INI文件的键名称 |
| `value` | tdatetime | 日期时间类型。要写入的日期时间值 |
返回:any
@@ -808,13 +808,13 @@ return ret;
将浮点值写入INI。如果不存在FileName,或者不存在Section,或者不存在Ident,则其会根据输入的FileNameSectionIdent创建对应的INI文件,INI文件的节名称,INI文件的键名称,并将浮点值Value写入到INI文件指定的键
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `alias` | string | 字符串类型。目录名称 |
| `file_name` | string | 字符串类型。INI文件名称 |
| `section` | string | 字符串类型。INI文件的节名称 |
| `ident` | string | 字符串类型。INI文件的键名称 |
| `value` | real | 浮点类型。要写入的浮点数值 |
| 参数 | 类型 | 说明 |
| ----------- | ------ | --------------------------- |
| `alias` | string | 字符串类型。目录名称 |
| `file_name` | string | 字符串类型。INI文件名称 |
| `section` | string | 字符串类型。INI文件的节名称 |
| `ident` | string | 字符串类型。INI文件的键名称 |
| `value` | real | 浮点类型。要写入的浮点数值 |
返回:any
@@ -837,13 +837,13 @@ return ret;
将整数值写入INI。如果不存在FileName,或者不存在Section,或者不存在Ident,则其会根据输入的FileNameSectionIdent创建对应的INI文件,INI文件的节名称,INI文件的键名称,并将整数值Value写入到INI文件指定的键
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `alias` | string | 字符串类型。目录名称 |
| `file_name` | string | 字符串类型。INI文件名称 |
| `section` | string | 字符串类型。INI文件的节名称 |
| `ident` | string | 字符串类型。INI文件的键名称 |
| `value` | integer | 整数类型。要写入的整数值 |
| 参数 | 类型 | 说明 |
| ----------- | ------- | --------------------------- |
| `alias` | string | 字符串类型。目录名称 |
| `file_name` | string | 字符串类型。INI文件名称 |
| `section` | string | 字符串类型。INI文件的节名称 |
| `ident` | string | 字符串类型。INI文件的键名称 |
| `value` | integer | 整数类型。要写入的整数值 |
返回:any
@@ -866,13 +866,13 @@ return ret;
将时间值写入INI。如果不存在FileName,或者不存在Section,或者不存在Ident,则其会根据输入的FileNameSectionIdent创建对应的INI文件,INI文件的节名称,INI文件的键名称,并将时间值Value写入到INI文件指定的键
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `alias` | string | 字符串类型。目录名称 |
| `file_name` | string | 字符串类型。INI文件名称 |
| `section` | string | 字符串类型。INI文件的节名称 |
| `ident` | string | 字符串类型。INI文件的键名称 |
| `value` | ttime | 时间类型。要写入的时间值 |
| 参数 | 类型 | 说明 |
| ----------- | ------ | --------------------------- |
| `alias` | string | 字符串类型。目录名称 |
| `file_name` | string | 字符串类型。INI文件名称 |
| `section` | string | 字符串类型。INI文件的节名称 |
| `ident` | string | 字符串类型。INI文件的键名称 |
| `value` | ttime | 时间类型。要写入的时间值 |
返回:any
@@ -895,13 +895,13 @@ return ret;
将字符串值写入INI。如果不存在FileName,或者不存在Section,或者不存在Ident,则其会根据输入的FileNameSectionIdent创建对应的INI文件,INI文件的节名称,INI文件的键名称,并将字符串Value写入到INI文件指定的键
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `alias` | string | 字符串类型。目录名称 |
| `file_name` | string | 字符串类型。INI文件名称 |
| `section` | string | 字符串类型。INI文件的节名称 |
| `ident` | string | 字符串类型。INI文件的键名称 |
| `value` | string | 字符串类型。要写入的字符串 |
| 参数 | 类型 | 说明 |
| ----------- | ------ | --------------------------- |
| `alias` | string | 字符串类型。目录名称 |
| `file_name` | string | 字符串类型。INI文件名称 |
| `section` | string | 字符串类型。INI文件的节名称 |
| `ident` | string | 字符串类型。INI文件的键名称 |
| `value` | string | 字符串类型。要写入的字符串 |
返回:any
@@ -924,12 +924,12 @@ return ret;
删除INI中的标识符。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `alias` | string | 字符串类型。目录名称 |
| `file_name` | string | 字符串类型。INI文件名称 |
| `section` | string | 字符串类型。INI文件中的节名称 |
| `ident` | string | 字符串类型。INI文件中要删除的键名称 |
| 参数 | 类型 | 说明 |
| ----------- | ------ | ----------------------------------- |
| `alias` | string | 字符串类型。目录名称 |
| `file_name` | string | 字符串类型。INI文件名称 |
| `section` | string | 字符串类型。INI文件中的节名称 |
| `ident` | string | 字符串类型。INI文件中要删除的键名称 |
返回:any