RGB->32bit argb value

BlitzMax Forums/BlitzMax Beginners Area/RGB->32bit argb value

I am wondering how i go about converting separate rgb values into 32bit argb value for use with the writepixel command?

Thanks in advance.

ARGB conversions

Enjoy.