Differences From Artifact [7b1ebd730f]:
- File 残局文料/lua_lib/算机_基统_窗群_文件系_小文件_读.lua — part of check-in [93f2f6943b] at 2024-02-09 05:12:02 on branch trunk — 慢慢来 (user: 顽雨沉风, size: 237) [annotate] [blame] [check-ins using]
To Artifact [2aaaa1e959]:
- File 残局文料/lua_lib/算机_基统_窗群_文件系_小文件_读.lua — part of check-in [5b9fb5e09f] at 2024-02-13 05:00:42 on branch trunk — 好 (user: 顽雨沉风, size: 237) [annotate] [blame] [check-ins using]
|
| | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | local s = {} --~ 文件路 --~ 式 function s.读文件(o1, o2) local k1 local k1_3 --~ 文件 k1_3 = io.open(o1, o2 or "r") --~ 文 k1 = k1_3:read("a") k1_3:flush() k1_3:close() return k1 end return s |