Is this possible to do in BMax?

BlitzMax Forums/BlitzMax Programming/Is this possible to do in BMax?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Works fine :)

SuperStrict
Framework BRL.StandardIO

Local testFunc:Byte[]=[$90:Byte,$B8:Byte,$10:Byte,$00:Byte,$00:Byte,$00:Byte,$C3:Byte]
Local testFuncPtr:Int()=MemAlloc(testFunc.length)

MemMove(testFuncPtr,testFunc,testFunc.length)
Print "Before function."

Local result:Int=testFuncPtr()
Print "Result: "+result