NextCatch()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

NextCatch()

Post by blueznl »

returns the address where 'catchimage' or 'catchsound' etc. finished there job, ie.

Code: Select all

  catchimage(1,?x)
  catchimage(2,nextcatch())
  catchimage(3,nextcatch())
  catchimage(4,nextcatch())
  ;
  datasection
    x:
    includebinary ....
    includebinary ....
    includebinary ....
    includebinary ....
  enddatasection
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Sounds good. (And Fangs will love it!) :)
@}--`--,-- A rose by any other name ..
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

Dare2 wrote:Sounds good. (And Fangs will love it!) :)
Now go and soundly slap yourself for being a cheeky bitch :lol: :lol: :lol: :lol: :lol:
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Sparkie
PureBatMan Forever
PureBatMan Forever
Posts: 2307
Joined: Tue Feb 10, 2004 3:07 am
Location: Ohio, USA

Post by Sparkie »

I too would find that useful.

(The NextCatch(), not the part where Dare2 slaps himself). :lol:
What goes around comes around.

PB 5.21 LTS (x86) - Windows 8.1
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

Sparkie wrote:I too would find that useful.

(The NextCatch(), not the part where Dare2 slaps himself). :lol:
I would find both useful. Add I want a photo in the forum of Dare2 slapping himself for being a cheeky bitch:)
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

yeah, slapping is always a good thing... fred, could you whack some of 'm please?

(they like it)

:P
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Post Reply