Differences From Artifact [57e39c7947]:
- File 残局文料/lua_lib/算机_程语_月_基类_数.lua — part of check-in [90284ec86e] at 2024-02-06 13:50:51 on branch trunk — 加限 (user: 顽雨沉风, size: 35) [annotate] [blame] [check-ins using]
To Artifact [ab309c9d6b]:
- File 残局文料/lua_lib/算机_程语_月_基类_数.lua — part of check-in [82138b1e52] at 2024-02-06 13:53:35 on branch trunk — 实现 (user: 顽雨沉风, size: 199) [annotate] [blame] [check-ins using]
1 2 3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | + + + + + + + + + + | local d = {} -- 加减 --~ 左加数 --~ 右加数 function d.加法(o1, o2) return o1 + o2 end --~ 左减数 --~ 右减数 function d.减法(o1, o2) return o1 - o2 end return d |