Equivalent CHAR

BlitzMax Forums/BlitzMax Beginners Area/Equivalent CHAR

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Hi all, as the title says

C:
CHAR buffer[32];

Bmax?
buffer:Byte[32] '< don't work as expected
buffer:Byte Ptr=MemAlloc(32) '< same as above

Only way I could duplicate it is mess the memory up completely by using.
MemCopy VarPtr(buffer), "Some Text", Len("Some Text")

Then the API function I passed to read it fine, but obviously then BMax fell over eventually.