Author Topic: TinyPTC image loader  (Read 10786 times)

0 Members and 1 Guest are viewing this topic.

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17412
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: TinyPTC image loader
« Reply #20 on: August 29, 2006 »
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:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: TinyPTC image loader
« Reply #21 on: August 29, 2006 »
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:

Offline DrewPee

  • I Toast Therefore I am
  • Pentium
  • *****
  • Posts: 563
  • Karma: 25
  • Eat Cheese - It's good for you!
    • View Profile
    • Retro Computer Museum
Re: TinyPTC image loader
« Reply #22 on: August 29, 2006 »
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

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: TinyPTC image loader
« Reply #23 on: August 29, 2006 »
Quote
Function 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:

Offline MrP

  • Atari ST
  • ***
  • Posts: 176
  • Karma: 18
    • View Profile
Re: TinyPTC image loader
« Reply #24 on: September 01, 2006 »
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....

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: TinyPTC image loader
« Reply #25 on: September 01, 2006 »
No biggie.  FB normally just emits a warning and adds return 0 to the end anyway.

Jim
Challenge Trophies Won: