For us to help you, you need to explain your problem properly - we can't see your program like you can.
As The Wilderbeast points out, what you do depends on whether you are writing a 3D program or a 2D one, (with DB you can do both).
If it is 3D then, as has been already stated, you use boxes.
MAKE OBJECT BOX 1, 1, 1, 1
The last 3 numbers are the width, height and depth of the box and in this case would result in all dimensions being the same (a cube).
To make a wall shape, simply make the width value the biggest, and the depth value the smallest. The height value is set to somewhere between. Eg:
MAKE OBJECT BOX 1, 10, 5, 1
As long as the relationship between the sizes is what you want, you can re-use them for other walls, rotating them about the Y axis and moving them into position.
You also have the Scale Object function which can increase the size of the walls as an alternative to using bigger values in the Make Object Box command.
You really do need to read the help files and as many tutorials as you can to get the basics.
TDK_Man