c56af6bcf8 2024-01-23 1: package.path = [[.\lib_lua\?.lua;]] .. package.path
c56af6bcf8 2024-01-23 2: package.cpath = [[.\lib_dll\?.dll;]] .. package.cpath
c56af6bcf8 2024-01-23 3: _G.常用库 = require("ipml_mj_ysaf")
6cde949a2c 2024-01-23 4: local 字集码互转库 = require("u8_to_a")
c9c3e39b9a 2024-01-23 5: local 删注库_月程语态_不虑字串态 = require_u8("删注/月程语_不虑字串")
c56af6bcf8 2024-01-23 6: local d_2 = {}
b14fefac64 2024-01-23 7: function d_2.产常量件(o1)
b14fefac64 2024-01-23 8: local k1
6cde949a2c 2024-01-23 9: k1 = 常用库.读件(o1 .. "/script/constant.lua", "rb")
c9c3e39b9a 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
0243e12f54 2024-01-23 15: --~ k1 = 常用库.删空行(k1)
0243e12f54 2024-01-23 16: --~ k1 = "local k1_11 = {}\n" .. k1 .. ""
0243e12f54 2024-01-23 17: --~ k1 = 常用库.筛排(k1, print)
0243e12f54 2024-01-23 18: --~ print(k1)
0243e12f54 2024-01-23 19: --~ print(k1:gsub("\n", "猪"))
c56af6bcf8 2024-01-23 20: end
c56af6bcf8 2024-01-23 21: function d_2.筛凡常量()
c56af6bcf8 2024-01-23 22:
c56af6bcf8 2024-01-23 23: end
c56af6bcf8 2024-01-23 24: function d_2.筛字段量()
c56af6bcf8 2024-01-23 25:
c56af6bcf8 2024-01-23 26: end
6cde949a2c 2024-01-23 27: d_2.产常量件(字集码互转库.u8_to_a([[D:\install\YGOPro]]))