As per mentioned in this snippet topic here: http://www.glbasic.com/forum/index.php?topic=1471.0 (http://www.glbasic.com/forum/index.php?topic=1471.0) :)
Will be using this code for a few of my projects and thought that there must be others who would find it handy too. I actually thought it was part of GLB already, but I am guessing that it was decided that it was an unnecessary addition?
It probably unnecessary :) I've had no need to allocate memory. Gernot did say that it would be added if people found it useful :)
Well I thought I'd at least ask Gernot. If I add this, then it's yet more INLINE on my current project which already is about 50% INLINE C and 50% GLBasic, and I'm already worried about how much will break when compiled for Linux and/or OSX. No big deal though if he doesn't want to as there's always a way around things. :)