Differences From Artifact [b5f76297a1]:
- File 残局文料/lua_lib/算机_基统_窗群_文件系_小文件_读.lua — part of check-in [a4c0b3bd26] at 2024-02-13 05:09:26 on branch trunk — 好 (user: 顽雨沉风, size: 237) [annotate] [blame] [check-ins using]
To Artifact [fb077e5cf2]:
- File 残局文料/lua_lib/算机_基统_窗群_文件系_小文件_读.lua — part of check-in [89f423ff38] at 2024-02-13 07:31:23 on branch trunk — 好 (user: 顽雨沉风, size: 237) [annotate] [blame] [check-ins using]
1 2 3 4 | local s = {} --~ 文件路 --~ 式 function s.读文件(u1, u2) | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | local s = {} --~ 文件路 --~ 式 function s.读文件(u1, u2) local h1 local k1_3 --~ 文件 k1_3 = io.open(u1, u2 or "r") --~ 文 h1 = k1_3:read("a") k1_3:flush() k1_3:close() return h1 end return s |