60c256f91b 2024-06-27 顽雨沉风: local 字集库 = require("u8_to_a")
60c256f91b 2024-06-27 顽雨沉风: local 档库 = require("lsqlite3")
60c256f91b 2024-06-27 顽雨沉风: local 文库 = require(字集库.u8_to_a("算机_程语_月_基类_文"))
60c256f91b 2024-06-27 顽雨沉风: local 对库 = require(字集库.u8_to_a("算机_程语_月_基类_表_对"))
60c256f91b 2024-06-27 顽雨沉风: local s = {}
60c256f91b 2024-06-27 顽雨沉风: local 卡档
60c256f91b 2024-06-27 顽雨沉风: --~ 卡编
60c256f91b 2024-06-27 顽雨沉风: function s.取卡对(u1)
60c256f91b 2024-06-27 顽雨沉风: local h1_0, h2_0
60c256f91b 2024-06-27 顽雨沉风: --~ 卡文对
60c256f91b 2024-06-27 顽雨沉风: h1_0 = s.取卡文(u1)
60c256f91b 2024-06-27 顽雨沉风: --~ 卡数据对
60c256f91b 2024-06-27 顽雨沉风: h2_0 = s.取卡数据(u1)
60c256f91b 2024-06-27 顽雨沉风: return 对库.连两对(h1_0, h2_0)
60c256f91b 2024-06-27 顽雨沉风: end
60c256f91b 2024-06-27 顽雨沉风: --~ 卡编
60c256f91b 2024-06-27 顽雨沉风: function s._取卡对(u1, u2)
60c256f91b 2024-06-27 顽雨沉风: for o1_4 in 卡档:nrows(文库.连(u2, u1)) do
60c256f91b 2024-06-27 顽雨沉风: return o1_4
60c256f91b 2024-06-27 顽雨沉风: end
60c256f91b 2024-06-27 顽雨沉风: end
60c256f91b 2024-06-27 顽雨沉风: do
60c256f91b 2024-06-27 顽雨沉风: local h1
60c256f91b 2024-06-27 顽雨沉风: --~ 模
60c256f91b 2024-06-27 顽雨沉风: h1 = "select * from texts where id = "
60c256f91b 2024-06-27 顽雨沉风: --~ 卡编
60c256f91b 2024-06-27 顽雨沉风: function s.取卡文(u1)
60c256f91b 2024-06-27 顽雨沉风: return s._取卡对(u1, h1)
60c256f91b 2024-06-27 顽雨沉风: end
60c256f91b 2024-06-27 顽雨沉风: end
60c256f91b 2024-06-27 顽雨沉风: do
60c256f91b 2024-06-27 顽雨沉风: local h1
60c256f91b 2024-06-27 顽雨沉风: --~ 模
60c256f91b 2024-06-27 顽雨沉风: h1 = "select * from datas where id = "
60c256f91b 2024-06-27 顽雨沉风: --~ 卡编
60c256f91b 2024-06-27 顽雨沉风: function s.取卡数据(u1)
60c256f91b 2024-06-27 顽雨沉风: return s._取卡对(u1, h1)
60c256f91b 2024-06-27 顽雨沉风: end
60c256f91b 2024-06-27 顽雨沉风: end
60c256f91b 2024-06-27 顽雨沉风: --~ 卡档路
60c256f91b 2024-06-27 顽雨沉风: function s.启卡档(u1)
60c256f91b 2024-06-27 顽雨沉风: 卡档 = 档库.open(u1)
60c256f91b 2024-06-27 顽雨沉风: end
60c256f91b 2024-06-27 顽雨沉风: return s