问个问题。。。。。。
pascal吧
全部回复
仅看楼主
level 14
Logistick 楼主
pascal如何两个语句同时执行?
比如我要求5秒必须读入,如果不输入则跳过该语句,如果输入就执行下一语句,该怎么写?
2014年01月18日 12点01分 1
level 14
Logistick 楼主
没有人吗?????????????????????
2014年01月18日 12点01分 2
level 13
gettime
2014年01月18日 14点01分 3
gettime只能在你输入后判断输入的时间,不能时间一到就跳过输入语句
2014年01月19日 01点01分
level 13
去异常处理的函数那找
2014年01月19日 02点01分 4
什么意思
2014年01月19日 05点01分
level 13
gettime
repeat
.....
gettime
until 时差>=xxx
2014年01月19日 04点01分 5
似乎也不行
2014年01月19日 05点01分
我一直都是这样做的
2014年01月19日 10点01分
level 4
好像只能开线程或计时器了吧
2014年01月19日 08点01分 6
level 12
试试用goto吧
2014年01月19日 10点01分 7
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 14
Logistick 楼主
谢谢大家的帮助,问题已成功解决了!!
2014年01月19日 13点01分 9
level 12
...
2014年03月01日 06点03分 10
level 6
randomize后randseed就是当前系统运行时间毫秒。
2014年03月01日 12点03分 11
1