PB 562 x(64)
Code: Select all
imgs(i) = CreateImage(#PB_Any, Width, Height)
Code: Select all
imgs(i) = CreateImage(#PB_Any, Width, Height)
That's the ID.mestnyi wrote:It looks like it returns a descriptor, not an id.
What does this mean?TI-994A wrote:That's the ID.mestnyi wrote:It looks like it returns a descriptor, not an id.
Well there is the ImageID(Number), which is basically the native image identifier of the operating system, and there is the PB Image Identifier.TI-994A wrote:That's the ID.mestnyi wrote:It looks like it returns a descriptor, not an id.
That's not caused by the CreateImage() function or the #PB_Any directive. The error is caused by utilising a Long to hold the gadget numbers assigned by the 64bit compiler. Either compile the code with a 32bit compiler, or change the array to an Integer data type.mestnyi wrote:The following code gives an error.
On line 31 [ERROR] The specified #Image is Not initialised.
viewtopic.php?f=13&t=55683&hilit=pb_can ... ta#p419308
Code: Select all
Dim imgs.i(#NUMOFTILES)