deleting and removing textures and materials

Hi,
How do I remove a Material and Texture Data Block completely.
Not just unlink from a mesh.

Please help.

Regards

Gopinath

In 2.49 clicking on the X won’t completely remove the datablock. Save and re-open the file a few times should get rid of it.

In 2.5 Shift+click on the X should be enough to delete it completely

i would go to my materials button and press the - next to your materials, and textures, until there are no more, then in the outliner rightclick/delete any undesirable elements if that doesnt work select the material in the outliner and use the delete key. but I’m probably wrong.