playbook/docs/tsl/reference/catalog/resource.md

190 lines
3.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 资源访问函数
这一页只负责函数定位:先按主题找到模块,再在页内搜索函数名。
## 候选函数索引说明
- 本页是候选函数索引,只说明函数名被归入当前模块。
- 候选名没有进入 verified 函数页前不能当成可调用事实。
- 生成代码前必须先查 [../verified/index.md](../verified/index.md);只从 verified 函数页读取参数类型。
## 使用方式
- 返回总目录:[catalog/index.md](index.md)
- 需要基础语法时回到 [../../syntax/index.md](../../syntax/index.md)
- 需要金融任务组织方式时回到 [../../finance/index.md](../../finance/index.md)
## 模块范围
- 说明:文件、数据库、网络与外部资源访问
- 主题数10
- 函数数136
## 主题目录
### 数据库访问函数
- `ExecSQL`
### 文件访问函数
- `FileList`
- `FileAge`
- `RemoveDir`
- `FileSize`
- `SetFileAttr`
- `FileDelete`
- `Sysdbfwrite`
- `FileTime`
- `SetFileAge`
- `WriteFile`
- `WriteToLog`
- `FileExists`
- `FileCopy`
- `SetFileTime`
- `ReadExcelSheets`
- `CreateDir`
- `FileAttr`
- `ReadFile`
- `Sysdbfread`
- `FileRename`
- `ImportFile`
- `ExportFile`
- `ExportFile2`
- `ImportFile2`
- `FileMode`
- `SetFileMode`
- `FileAttrToStr`
- `FileModeToStr`
- `StrToFileAttr`
- `StrToFileMode`
- `Filemove`
### 文件访问函数 / 导入导出类型函数
- `ftCSV`
- `ftXLS`
- `ftXls2`
- `ftXls3`
- `ftStream`
- `ftString`
- `ftXML`
- `ftdbf`
### 文件访问函数 / 文件读写类型函数
- `rwByte`
- `rwInt`
- `rwReal`
- `rwStr`
- `rwObj`
- `rwRaw`
- `rwBinary`
### 网络访问以及相关函数
- `GetHttp`
- `PostHttp`
- `GetURL`
- `CreateHttpSession`
- `SetHttpMode`
- `SetHttpCallBack`
- `GetHttpContent`
- `GetHttpResponseHeader`
- `SysSendMail`
### INI文件处理函数
- `IniReadBool`
- `IniReadDate`
- `IniReadDateTime`
- `IniReadFloat`
- `IniReadInteger`
- `IniReadTime`
- `IniReadString`
- `IniReadBinaryStream`
- `IniReadSection`
- `IniReadSections`
- `IniReadSectionValues`
- `IniSectionExists`
- `IniValueExists`
- `IniWriteBool`
- `IniWriteDate`
- `IniWriteDateTime`
- `IniWriteFloat`
- `IniWriteInteger`
- `IniWriteTime`
- `IniWriteString`
- `IniWriteBinaryStream`
- `IniDeleteKey`
- `IniEraseSection`
### INI文件处理函数 / 宽字节处理函数
- `IniReadSectionsw`
### 进程相关函数
- `SysPutenv`
- `SysExec`
- `SysParamStr`
- `SysErrorMessage`
- `Sysgetenv`
- `SysWaitForMultipleObjects`
- `SysTerminate`
- `SysCreateMutex`
- `SysCloseHandle`
- `SysReleaseMutex`
- `SysProcessID`
- `SysParamcount`
- `SysThreadID`
- `Sleep`
- `SysWaitForSingleObject`
- `SysGetenvs`
- `SysexecReadpipe`
- `SysexecGetenvs`
- `SysexecDeletepipe`
- `SysexecSetenvs`
- `SysexecNewpipe`
- `SysExecWritepipe`
- `dbglocalrunning`
- `dbglocalcancel`
- `SysThreadSelf`
- `syslinuxkrnlclosemutex`
- `SysSetThreadPriority`
- `SysGetThreadPriority`
- `SysSetProcessPriority`
- `SysGetProcessPriority`
- `SysGetProcessList`
- `SysGetProcessListw`
- `SysGetProcessNamePath`
- `SysGetProcessNamePathw`
- `SysGetProcessCmdLine`
- `SysGetProcessCmdLinew`
- `SysSetThreadName`
- `SysGetThreadName`
- `SysGetThreads`
- `SysPPid`
- `SysGetSubProcesses`
- `SysKill`
- `SysPidOfTid`
- `SysPidOfHandle`
- `SysHandleOfPid`
### 进程相关函数 / 获取COM进程
- `SysGetPidOfCom`
- `SysGetWndOfCaption`
- `SysGetPidtidOfWnd`
### 本地资源相关函数
- `SysExecName`
- `PluginPath`
- `FileInfo`
- `Getlogicdrive`
- `GetDeviceFree`
- `Getdeviceinfo`
- `Createlink`
- `Realpath`