Hi All,
I just got DBP and have been reading up as much as possible. Im enjoying the language so far, but getting very stuck very quickly. I've got programming experience, but not masses</LifeStory>
I would kindly ask someone to please explain the BOX command. Let me explain where I am confused. In most languages from my experience, BOXes are made up of 3 things, a starting point, a width and a height. The following example function call is what I would have expected.
e.g. CreateBox(x-coord, y-coord, width, height)
Im confused how "BOX Left, Top, Right, Bottom" relate to the screen. Im able to draw some boxes but others do not!
For example if I put in this code :
INK RGB(100,100,100), 0
BOX 10,10,40,100
and I get a nice little rectangle. However this code does not work:
INK RGB(100,100,100), 0
BOX 10,100,40,100
Please help! Im going insane!
Is it going off the drawing surface? I understand the default resolution is 640, 480?
Many thanks for this simple problem.
//Bubblz