在过程或函数中: static a as integer if a=0 then a=3 '其它变化设置如: a=a+1 '等等
发表于:2007-01-28 13:45:1310楼 得分:0
在过程或函数中: static a as integer if a=0 then a=3 '其它变化设置如: a=a+1 '等等 -------------------------------------------- 这样是有局限,要是a=a+1写为a=a-1呢?
发表于:2007-02-07 19:52:2011楼 得分:20
在过程或函数中: static a as integer if a=0 then a=3 '其它变化设置如: a=a+1 '等等 -------------------------------------------- 这样是有局限,要是a=a+1写为a=a-1呢? 如果数据a需要经过0的话可以再设置一个比如: static a as integer,b as integer if b=0 then a=3 '其它变化设置如: a=a-1 '这样就可以经过0了,你需要什么就改变什么。任何事都有一定的成立条件。
发表于:2007-02-07 19:53:4912楼 得分:0
这样是有局限,要是a=a+1写为a=a-1呢? 如果数据a需要经过0的话可以再设置一个比如: static a as integer,b as integer if b=0 then a=3:b=1 '其它变化设置如: a=a-1 '这样就可以经过0了,你需要什么就改变什么。任何事都有一定的成立条件。
发表于:2007-02-07 19:57:0013楼 得分:0
static a as integer,b as boolean if b=false then a=3:b=true a=a-1 '