[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cbyte of a pointer fails with error: wanted byte got pointer


Le 14/10/2025 à 15:02, Brian G a écrit :
This creates the error

   dim a as pointer = 1
   dim b as byte = cbyte(a)
   print b
  Type mismatch: wanted Byte, got Pointer instead



I'm not shocked. What could be the conversion of a memory address to a byte, unless a bug?

--
Benoît Minisini.


References:
cbyte of a pointer fails with error: wanted byte got pointerBrian G <brian@xxxxxxxxxxxxxxxx>