- Rexx 教程
- Rexx - 首頁
- Rexx - 概述
- Rexx - 環境
- Rexx - 安裝
- Rexx - 外掛安裝
- Rexx - 基本語法
- Rexx - 資料型別
- Rexx - 變數
- Rexx - 運算子
- Rexx - 陣列
- Rexx - 迴圈
- Rexx - 決策
- Rexx - 數字
- Rexx - 字串
- Rexx - 函式
- Rexx - 棧
- Rexx - 檔案 I/O
- Rexx - 檔案函式
- Rexx - 子程式
- Rexx - 內建函式
- Rexx - 系統命令
- Rexx - XML
- Rexx - Regina
- Rexx - 解析
- Rexx - 訊號
- Rexx - 除錯
- Rexx - 錯誤處理
- Rexx - 面向物件
- Rexx - 可移植性
- Rexx - 擴充套件函式
- Rexx - 指令
- Rexx - 實現
- Rexx - Netrexx
- Rexx - Brexx
- Rexx - 資料庫
- 手持式和嵌入式
- Rexx - 效能
- Rexx - 最佳程式設計實踐
- Rexx - 圖形使用者介面
- Rexx - Reginald
- Rexx - Web 程式設計
- Rexx 有用資源
- Rexx - 快速指南
- Rexx - 有用資源
- Rexx - 討論
Rexx - charout
此函式用於一次向檔案寫入一個字元。檔名作為引數輸入到函式中。
語法
charout(filename)
引數
filename − 這是需要將字元寫入到的檔名。
返回值
如果所有字元都成功寫入檔案,則此函式返回 0。如果函式失敗,則返回未能寫入檔案的字元數。
示例
/* Main program */ status = charout(Example.txt,E) status = charout(Example.txt,x) status = charout(Example.txt,a)
執行上述程式時,字元“E”、“X”和“a”將新增到檔案 Example.txt 中。
rexx_functions_for_files.htm
廣告