why loadtexture not working for me?

Blitz3D Forums/Blitz3D Programming/why loadtexture not working for me?

i am new with 3d

Graphics 640,480
p2=LoadImage("texturetest.jpg")
DrawImage p2,0,0

works fine

but in the same code

(after graphics 3d and all that jazz)

p2=LoadTexture("texturetest.jpg")
EntityTexture ter,p2

it says 'texture does not exist' (the terrain does exist)

is there something special about loadtexture i don't understand? i don't know how to get information about what is wrong. i tried a bmp instead of jpg. that didn't work. the jpg is stored 'baseline' with no preview, compression level 6. nothing special that i can see.