Also, _LOADIMAGE returns a LONG value, but you've used an integer

by (no login)

 

Change this :

DIM d%(31, 31)
i% = _LOADIMAGE("vx.png")
_PUTIMAGE (12, 472)-(43, 503), i%, 0, (31, 0)-(63, 31)
_SOURCE i%
GET (31, 0)-(63, 31), d%() 'This is the line that's getting the illegal function call
PUT (100, 0), d%(), PSET

to this :

DIM d%(32, 32)
i& = _LOADIMAGE("vx.png")
_PUTIMAGE (12, 472)-(43, 503), i&, 0, (31, 0)-(63, 31)
_SOURCE i&
GET (31, 0)-(63, 31), d%() 'This is the line that's getting the illegal function call
PUT (100, 0), d%(), PSET

Posted on Jun 17, 2012, 6:37 PM

Respond to this message   

Return to Index

Response TitleAuthor and Date
*Same result.QBTrying on Jun 17
Sorry; NOT the same resultQBTrying on Jun 17
 new problemQBTrying on Jun 17
  There's a lot of things wrong with that code. How about this...Galleon on Jun 19

 Copyright © 1999-2014 Network54. All rights reserved.   Terms of Use   Privacy Statement