切换到宽版
  • 2847阅读
  • 3回复

飞狐显示日干支与星期 [复制链接]

上一主题 下一主题
离线copy
 

发帖
446
金币
17770
威望
7
贡献值
0
开心币
21
只看楼主 倒序阅读 使用道具 楼主  发表于: 2003-03-29
drawtext(weekday=1,35,'一') ,colorgray;
drawtext(weekday=2,35,'二') ,colorgray;
drawtext(weekday=3,35,'三') ,colorgray;
drawtext(weekday=4,35,'四') ,colorgray;
drawtext(weekday=5,35,'五') ,colorgray;
DRAWYITEXT( date,30,ganzhi(date,0,2),0);
DRAWYITEXT(date,20,ganzhi(date,0,1),0);
DRAWYITEXT(date,10,(5 - INTPART(GANZHI(DATE, 0,2)/10)) * 2,0);
要好文章找我来
离线剩闲
发帖
15
金币
10269
威望
0
贡献值
0
开心币
0
只看该作者 沙发  发表于: 2003-04-03
很好!!谢谢!!
很好!!
再接再厉!!
谢谢!!
不过,请解释一下!!
尤其是,最后一行是什么??
离线白山

发帖
3189
金币
11739
威望
113
贡献值
18
开心币
367
只看该作者 板凳  发表于: 2003-04-05
这个更好
drawtext(weekday=1,10,'一') colorgray;
drawtext(weekday=2,10,'二') colorgray;
drawtext(weekday=3,10,'三') colorgray;
drawtext(weekday=4,10,'四') colorgray;
drawtext(weekday=5,10,'五') colorgray;
z:=GANZHI(DATE, 0, 2);
drawtext(z=0,0,'甲子') colorgray;
drawtext(z=1,0,'乙丑') coloryellow;
drawtext(z=2,0,'丙寅') colorgreen;
drawtext(z=3,0,'丁卯') colorgreen;
drawtext(z=4,0,'戊辰') coloryellow;
drawtext(z=5,0,'己巳') colorred;
drawtext(z=6,0,'庚午') colorred;
drawtext(z=7,0,'辛未') coloryellow;
drawtext(z=8,0,'壬申') colorwhite;
drawtext(z=9,0,'癸酉') colorwhite;
drawtext(z=10,0,'甲戍') coloryellow;
drawtext(z=11,0,'乙亥') colorgray;

drawtext(z=12,0,'丙子') colorgray;
drawtext(z=13,0,'丁丑') coloryellow;
drawtext(z=14,0,'戊寅') colorgreen;
drawtext(z=15,0,'己卯') colorgreen;
drawtext(z=16,0,'庚辰') coloryellow;
drawtext(z=17,0,'辛巳') colorred;
drawtext(z=18,0,'壬午') colorred;
drawtext(z=19,0,'癸未') coloryellow;
drawtext(z=20,0,'甲申') colorwhite;
drawtext(z=21,0,'乙酉') colorwhite;
drawtext(z=22,0,'丙戍') coloryellow;
drawtext(z=23,0,'丁亥') colorgray;

drawtext(z=24,0,'戊子') colorgray;
drawtext(z=25,0,'己丑') coloryellow;
drawtext(z=26,0,'庚寅') colorgreen;
drawtext(z=27,0,'辛卯') colorgreen;
drawtext(z=28,0,'壬辰') coloryellow;
drawtext(z=29,0,'癸巳') colorred;
drawtext(z=30,0,'甲午') colorred;
drawtext(z=31,0,'乙未') coloryellow;
drawtext(z=32,0,'丙申') colorwhite;
drawtext(z=33,0,'丁酉') colorwhite;
drawtext(z=34,0,'戍戍') coloryellow;
drawtext(z=35,0,'巳亥') colorgray;

drawtext(z=36,0,'庚子') colorgray;
drawtext(z=37,0,'辛丑') coloryellow;
drawtext(z=38,0,'壬寅') colorgreen;
drawtext(z=39,0,'癸卯') colorgreen;
drawtext(z=40,0,'甲辰') coloryellow;
drawtext(z=41,0,'乙巳') colorred;
drawtext(z=42,0,'丙午') colorred;
drawtext(z=43,0,'丁未') coloryellow;
drawtext(z=44,0,'戊申') colorwhite;
drawtext(z=45,0,'己酉') colorwhite;
drawtext(z=46,0,'庚戍') coloryellow;
drawtext(z=47,0,'辛亥') colorgray;

drawtext(z=48,0,'壬子') colorgray;
drawtext(z=49,0,'癸丑') coloryellow;
drawtext(z=50,0,'甲寅') colorgreen;
drawtext(z=51,0,'乙卯') colorgreen;
drawtext(z=52,0,'丙辰') coloryellow;
drawtext(z=53,0,'丁巳') colorred;
drawtext(z=54,0,'戊午') colorred;
drawtext(z=55,0,'己未') coloryellow;
drawtext(z=56,0,'庚申') colorwhite;
drawtext(z=57,0,'辛酉') colorwhite;
drawtext(z=58,0,'壬戍') coloryellow;
drawtext(z=59,0,'癸亥') colorgray;
成功=艰苦劳动+正确方法+少说空话 --爱因斯坦
离线剩闲
发帖
15
金币
10269
威望
0
贡献值
0
开心币
0
只看该作者 地板  发表于: 2003-04-07
不错,五行还分了颜色!!好!!!!!

VERY GOOD!!
快速回复
限100 字节
批量上传需要先选择文件,再选择上传
 
上一个 下一个