ClarionX Updates

    follow me on Twitter

    Subscribe

    Enter your email address:

    Delivered by FeedBurner

    Blog powered by TypePad
    Member since 08/2006

    « Will it Blend an IPOD? | Main | Twitter - Even the top guys have Corruptions »

    July 17, 2007

    5 Seconds :: Temporary Accept Loops

    When you have lots of old process code that has heaps of loops but no window event handling here is a quick way to temporarily allow window events to be processed and to release some of those resources for background processes.

    DoEvents PROCEDURE ()

    CODE

    Save# = TARGET{PROP:Timer}

    TARGET{PROP:Timer} = 1

    ACCEPT

      CASE EVENT()

      OF EVENT:Timer

         BREAK

       END

    END

    TARGET{PROP:Timer} = Save#

    TrackBack

    TrackBack URL for this entry:
    http://www.typepad.com/t/trackback/1061933/20086064

    Listed below are links to weblogs that reference 5 Seconds :: Temporary Accept Loops:

    Comments

    Yeah, what Stu says!

    Thanks Stu ... If anyone wants to contirbute or come up with suggestions just send an email to clarionx@gmail.com.

    Nice work! Just another reason why ClarionX is fast becoming the awesomest Clarion Tips site around :) .. you give out _good_ and worthwhile tips.

    Very cool.

    Post a comment

    If you have a TypeKey or TypePad account, please Sign In