本文整理自网络,侵删。
function keke(s: char): char;begin result:= ' '; case s of '木': result:= '土'; '火': result:= '金'; '土': result:= '水'; '金': result:= '木'; '水': result:= '火'; end;end;
function sheng(s: char): char;begin result:= ' '; case s of '木': result:= '火'; '火': result:= '土'; '土': result:= '金'; '金': result:= '水'; '水': result:= '木'; end;end;
相关阅读 >>
Delphi 生成xml 方法 与 Delphi txt文件操作
Delphi windows 编程[10] - wm_lbuttondown、wm_lbuttonup 和 wm_mousemove 消息
更多相关阅读请进入《Delphi》频道 >>