China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 02:21
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » A delay program View 2,006 Replies 4
Original Poster Posted 2007-11-02 15:07 ·  中国 广东 江门 电信
初级用户
★★
Credits 117
Posts 57
Joined 2007-10-23 20:57
18-year member
UID 100584
Gender Male
Status Offline
Made a long time ago, the syntax:
DELAY delay time

For example: The following operation delays for 20s, and if the Y key is pressed within 20s, the delay stops
DELAY 20 Y "Please wait..."

Command return:
Normal delay ends and returns 0
Key press interrupts delay and returns 17

[ Last edited by jojand on 2007-11-2 at 05:01 PM ]
Attachments
DELAY.rar (23.46 KiB, Downloads: 145)
Floor 2 Posted 2008-02-18 18:44 ·  中国 北京 联通
初级用户
Credits 108
Posts 49
Joined 2007-03-09 06:08
19-year member
UID 81161
Gender Male
Status Offline
Floor 3 Posted 2008-02-18 18:44 ·  中国 北京 联通
初级用户
Credits 108
Posts 49
Joined 2007-03-09 06:08
19-year member
UID 81161
Gender Male
Status Offline
Was this written in assembly?
Floor 4 Posted 2009-10-16 12:30 ·  中国 四川 德阳 电信
新手上路
Credits 4
Posts 2
Joined 2009-05-26 06:11
17-year member
UID 145976
Gender Male
Status Offline
Thanks for the LZ's sharing.
Floor 5 Posted 2009-11-14 11:51 ·  中国 广东 东莞 电信
初级用户
Credits 32
Posts 14
Joined 2008-09-05 14:57
17-year member
UID 124865
Gender Male
Status Offline
Forum Jump: