提示 找不到变量‘Y’,什么原因?急
local Y
local M
local D
Y=0
M=0
D=0
Y=YEAR(date())
M=MONTH(date())
D=DAY(date())
DO CASE
CASE M+2=13
REPL Y WITH Y+1
REPL M WITH 1
CASE M+2=14
REPL Y WITH Y+1
REPL M WITH 2
OTHERWISE
REPL Y WITH Y+1
REPL M WITH M+2
ENDCASE
DISP Y
DISP M
DISP D
[此贴子已经被作者于2007-9-15 20:20:38编辑过]