Try this code for example. As is, the value of alpha is set to a float and called as an int resulting in 0. Change the value to 1 (in the function call) without the . and it will show sollid. Change the value back to .5 and add # to alpha# in each case and you will see a tranparent cube.
Graphics3D 640,480 SetBuffer BackBuffer() cam=CreateCamera() light=CreateLight() cube=CreateCube() ScaleEntity cube,2,2,2 cube2=create_the_cube(cube,.5) ;cube2=create_the_cube(cube,1) While Not KeyHit(1) PointEntity cam,cube2 RenderWorld ;Text 10,10,"alpha "+ alpha# ;Text 10,30,"alpha# "+alpha# Flip Wend End Function create_the_cube(cube,alpha) cube2=CopyEntity (cube) EntityAlpha cube,alpha PositionEntity cube,0,0,10 Return cube2 End Function