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.

Newcomers DBPro Corner / code problem , please help

Author
Message
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 21st Jun 2005 20:23
Hey pros ,

Can you guys tell me the mistake in this code ?

pls reply---
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 21st Jun 2005 21:33
Yes.

1. Your main code should appear before your functions, otherwise, nothing will appear to happen.

2. You have not set values for the b_width and b_height that you use in your DIM command, so zero will be used for each one instead.

3. Even when you have fixed these, the code will *still* appear to do nothing, because you haven't included any instructions to stop the program ending immediately after it has carried out your instructions. Add a 'WAIT KEY' command to the end of the main section.



*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 22nd Jun 2005 02:49
thnx

pls reply---

Login to post a reply

Server time is: 2024-09-23 21:28:00
Your offset time is: 2024-09-23 21:28:00