Lines of
残局文料/产常量件.lua
from check-in 0243e12f54
that are changed by the sequence of edits moving toward
check-in 14ff7a9f5f:
1: package.path = [[.\lib_lua\?.lua;]] .. package.path
2: package.cpath = [[.\lib_dll\?.dll;]] .. package.cpath
3: _G.常用库 = require("ipml_mj_ysaf")
4: local 字集码互转库 = require("u8_to_a")
0243e12f54 2024-01-23 5: local 删注库_月程语态_不虑字串态 = require_u8("删注/月程语_不虑字串")
6: local d_2 = {}
7: function d_2.产常量件(o1)
8: local k1
9: k1 = 常用库.读件(o1 .. "/script/constant.lua", "rb")
0243e12f54 2024-01-23 10: k1 = 删注库_月程语态_不虑字串态.事启(k1)
0243e12f54 2024-01-23 11: --~ k1 = 常用库.删空格与制表符(k1)
0243e12f54 2024-01-23 12: for o1 in k1:gmatch("[^\n= \t]+") do
0243e12f54 2024-01-23 13: print(o1)
0243e12f54 2024-01-23 14: end
15: --~ k1 = 常用库.删空行(k1)
16: --~ k1 = "local k1_11 = {}\n" .. k1 .. ""
17: --~ k1 = 常用库.筛排(k1, print)
18: --~ print(k1)
19: --~ print(k1:gsub("\n", "猪"))
20: end
21: function d_2.筛凡常量()
22:
23: end
24: function d_2.筛字段量()
25:
26: end
27: d_2.产常量件(字集码互转库.u8_to_a([[D:\install\YGOPro]]))