[Gambas-user] write #pointer

Gaël Le Hec'H gael.le-hech at ...357...
Tue Dec 19 16:18:56 CET 2006


Hi,

is it normal to get "" in sBuff ?

  DIM pBuff AS Pointer
  DIM sBuff AS String
  pBuff = Alloc(10)
  WRITE #pBuff, "123" & Chr$(0), 4
  sBuff = StrPtr(pBuff)
  Free(pBuff)
  PRINT "sBuff = " & sBuff




More information about the User mailing list