Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Open Drive, Close Drive function

Author
Message
BiggAdd
Retired Moderator
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 13th Sep 2004 07:38
Heres a Open drive Close drive function for anyone who wants it. Mabye useful for a Cd player.




i have added Upkey and Downkey just to show how its used.
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 13th Sep 2004 14:32
Heh, that's pretty cool. I might have a use for that someday...

Ilya
21
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 15th Sep 2004 11:20 Edited at: 15th Sep 2004 11:28
Here's an annoying code I made with that:


David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 15th Sep 2004 18:02
Haha - reminds me of that coca-cola cup holdaer program. The cd drive popped open

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
BiggAdd
Retired Moderator
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 16th Sep 2004 04:38
the annoying code.... o dear........ do i dare put that in
Ilya
21
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 16th Sep 2004 11:33 Edited at: 16th Sep 2004 11:36
It doesn't work though.
Here's a better version:

[EDIT]Grrr... Doesn't work. Maybe you could include some functions like:
[EDIT]Drive Open
[EDIT]Drive Closed
[EDIT]Drive Opening
[EDIT]Drive Closing

BiggAdd
Retired Moderator
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 17th Sep 2004 04:19
I could Try

Login to post a reply

Server time is: 2024-11-23 20:10:54
Your offset time is: 2024-11-23 20:10:54