Could someone please tell me what the purpose of this command is? The docs and the book say very little about how it works, and nothing about why you'd need it. It seems to append a name to the handle, which itself is already an appendage to the ram number. A handle is more useful than a number of course, but why confuse things by adding a name too? Is that useful in some way? Here's my code:
Graphics3D 640,480,32,1 SetBuffer BackBuffer() camera=CreateCamera() MoveEntity camera,0,0,-10 cube=CreateCube() EntityColor cube,127,127,127 name$=EntityName(cube) While Not KeyHit(1) Cls CameraProject(camera,EntityX(cube),EntityY(cube),EntityZ(cube)) If KeyHit(49) NameEntity(cube,"graybox") UpdateWorld RenderWorld If EntityInView(cube,camera)=1 Text ProjectedX#(),ProjectedY#(), "number: " +cube Text ProjectedX#(),ProjectedY#()+15,"handle: cube" Text ProjectedX#(),ProjectedY#()+30,"name: " +EntityName(cube) EndIf Text 7,15,"Press n to name the cube." Flip Wend End