[求助]用month(),date(),inlist()编一个有用程序
求助各位大哥大姐,怎样用用month(),date(),inlist()编一个有用的短程序,我认为它是我们下周要考的题.
我只接触VFP一学期,还请帮帮!
这是我编的一点,
.............................................................................................................
clear
x=date()
y=val(subs(x,1,2))
do case
case y<11
wait "现在是上旬" window at 7,18
case y<21
wait "现在是中旬" window at 7,18
case y<32
wait "现在是下旬" window at 7,18
endcase
..........................................................................................................................
y=val(subs(x,1,2))不对,请大家帮我改改,在加加.