level 14
pascal如何两个语句同时执行?
比如我要求5秒必须读入,如果不输入则跳过该语句,如果输入就执行下一语句,该怎么写?
2014年01月18日 12点01分
1
level 14
没有人吗?????????????????????
2014年01月18日 12点01分
2
level 13
gettime
repeat
.....
gettime
until 时差>=xxx
2014年01月19日 04点01分
5
我一直都是这样做的
2014年01月19日 10点01分
level 13
s:=''
gettime
repeat
if keypressed then s←readkey
gettime
until 时差≥xxx
if s='' then
else
2014年01月19日 12点01分
8
oh,这样似乎可以!
2014年01月19日 13点01分
level 6
randomize后randseed就是当前系统运行时间毫秒。
2014年03月01日 12点03分
11