Equivalent CHAR

BlitzMax Forums/BlitzMax Beginners Area/Equivalent CHAR

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.

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.