How to generate text on the fly?

BlitzMax Modules Forums/MiniB3D/How to generate text on the fly?

The functions posted about the blitzbasic forum seem to work only if you generate the text and keep it in memory for use till the program finishes.

What I wanted to know is if there is a way for the system to generate text on the fly so all I have to call is a function like CreateText( "Text" ) and then I can use it and get rid of it when I want without having to prerender everything at startup?

To make things clearer what I wanted to know if there was a way to generate a texture containing text so I could apply it to a sprite or something, the function posted on here works if you pregenerate the text which is a problem when you dont know what your going to generate.

Alternatively could someone point me to a way to access textures in Minib3d.

Thanks in advance :)