Bug #828
closedGet image error Amiga Manifest
0%
Description
Using the code below gives...Get Image illegal or error function call , 11-57
This worked fine up until and including Update 15 Beta 8. (Amiga Manifest mode).
six1imagex=245 //Get Inventory Object.....
six1imagey=68
Get Image 2,1,six1imagex,six1imagey To six1imagex+10,siy1imagey+10
Updated by David Baldwin over 3 years ago
Check code, the error is a new thing, caused by a negative height. Your example code has a error - the last var siy1imagey SHOULD be six1imagey, and so is zero, so is generating an illegal height of -57.
Updated by malcolm harvey over 3 years ago
- Status changed from New to Closed
malcolm harvey wrote: (This was a miss print in only one section of code, oddly enough it
was correct in all other places. But it seams as dave & phil point out now, the last two parameters
should be ammount to grab x,y or 10,10.
Using the code below gives...Get Image illegal or error function call , 11-57
This worked fine up until and including Update 15 Beta 8. (Amiga Manifest mode).six1imagex=245 //Get Inventory Object.....
siy1imagey=68
Get Image 2,1,six1imagex,siy1imagey To six1imagex+10,siy1imagey+10