• Welcome to Dark Bit Factory & Gravity.
 

TinyPTC image loader

Started by MrP, August 16, 2006

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Shockwave

That's the problem I have with updating. I know I should do it but I'm afraid that stuff like this will stop working if I do.
Btw, Clyde I'm sure that Drew's attachment contains an Exe, I seem to remember running it.
Shockwave ^ Codigos
Challenge Trophies Won:

Clyde

I always update if there's one available, thing that throws me sometimes is finding which includes to update from the CVS.
The error I get with the ImageLoader is "Function result wasn't explicitly set"

DrewPee, thats a pretty cool bob display you've got there.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

DrewPee

All credit must go to MrP though - its his code with a bit added in by me . . . :)
But thanks anyway!

DrewPee
DrewPee
aka Falcon of The Lost Boyz (Amiga)
Ex-Amiga Coder and Graphic Designer
Administrator of > www.retrocomputermuseum.co.uk

Jim

QuoteFunction result wasn't explicitly set
That's because Functions are supposed to return a value.  You should use Sub instead if you're not planning to return a value.
As a workaround, just add 'Return 0' to the end of the functions that complain.

Jim
Challenge Trophies Won:

MrP

Guess thats my bad it wont compile on the newer version. I know that functions should return something and subs dont, and hence only the loadimage should be a function cos thats the only thing that returns anything. Sorry about that peeps. My bad, guess I just had a function thing going that day....

Jim

No biggie.  FB normally just emits a warning and adds return 0 to the end anyway.

Jim
Challenge Trophies Won: