How to draw to a buffer?

BlitzMax Forums/BlitzMax Programming/How to draw to a buffer?

Yup - but it's the first thing I tried to do...