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 / input, text and matrix. Just black!

Author
Message
Static
20
Years of Service
User Offline
Joined: 4th Apr 2004
Location: United Kingdom
Posted: 13th Jun 2004 12:15
In the following code:

If I unremark either of the remarked commands when I run the program I just get a black screen. Why? And how do fix the problem.
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 13th Jun 2004 12:25
just needed abiut of rejigging, no idea why it wasn't working though...


Static
20
Years of Service
User Offline
Joined: 4th Apr 2004
Location: United Kingdom
Posted: 13th Jun 2004 14:09
It works thanks.
One question though what are the maximum width and hieghts of a matrix?
Sleet
21
Years of Service
User Offline
Joined: 3rd Aug 2003
Location:
Posted: 13th Jun 2004 14:59
there is no max height or width for a matrix, but you can only set like 99 tiles by 99 tiles (or a matrix with the equivilent number of tiles)

Here is why your code didn't work:

You told the computer to let your program decide basicaly when everyhting would be drawn to the screen (sync) by using the "sync on" command.

Where did you put the "sync" command to tell your computer to draw to the screen? That's what I thought, you forgot that part

if you put a sync command at the end of your program and ran it unremarking one of those lines of code it SHOULD work fine

Login to post a reply

Server time is: 2024-11-26 20:27:31
Your offset time is: 2024-11-26 20:27:31