Results 1 to 18 of 18

Thread: Forum Logic

  1. #1

    Thread Starter
    Hyperactive Member Paul Warren's Avatar
    Join Date
    Jun 2000
    Location
    UK
    Posts
    282

    Forum Logic

    For those of you who missed it here's the logic for answering questions in the other forums ( yes they do exist ) :

    Code:
    Private Type PostType
        SimpleQuestion As Boolean
        FoundItFirst As Boolean
        MessID As Long
    End Type
        
    Public Bored As Boolean
    Public FallAsleep As Boolean
        
    Private Sub AnswerPosts(IAmInABadMood As Boolean, IAmAnArseHole As Boolean)
    ' August 2001, Paul Warren
    
    Dim Post As PostType
    
    Call SearchForNewPost(Post)
    
    With Post
    
        Do
            If .SimpleQuestion Then
                ' Let's work out if I'm a tw*t first
                If IAmInABadMood Or IAmAnArseHole Then
                    ' This bit will only ever be run by morons
                    Call AbusePoster(.MessID, "You Are Fik")
                Else
                    If .FoundItFirst Then
                        ' YES !!!
                        Call PostSolutionAndBeSmugAboutIt(.MessID)
                    Else
                        ' hmmm, I'm sure there's a more obscure way of doing it
                        Call FindBarelyRelatedCodeAndPostIt(.MessID)
                    End If
                End If
            Else
                ' Damn, a hard question - find another quick
                Call SearchForNextPost(Post)
            End If
    
        Loop Until Bored Or FallAsleep ' ZZzzzz
    
    End With
    
    End Sub
    As you can tell I was bored when I wrote this. Thanks to honeybee for being a pendantic pain.
    That's Mr Mullet to you, you mulletless wonder.

  2. #2
    Const YouAreAlwaysBored As Boolean = True

  3. #3

    Thread Starter
    Hyperactive Member Paul Warren's Avatar
    Join Date
    Jun 2000
    Location
    UK
    Posts
    282
    ah well, the DLL with the routines in it is not for public viewing. I'm going to make my billions from it and rule the world from a solid gold house with diamond flooring and filled with loads and loads of women, beautiful ones too, who will fulfill my every desire.

    If you're nice to me I might invite you around to tea. Or maybe not, we'll see.
    That's Mr Mullet to you, you mulletless wonder.

  4. #4
    Fanatic Member Gary.Lowe's Avatar
    Join Date
    May 2000
    Location
    In my sphere of influence
    Posts
    621
    Only if we get buscuits too.
    Gary Lowe
    VB6 (Enterprise) SP5
    ADO 2.6
    SQL Server 7 SP3

    OK I know my spelling and grammer is crap so don't quote me on it!

    To err is human to take the P! is only natural !!

    Click on the top section of image for Marcus Miller website and bottom section of image for 'Run For Cover' sound clip


  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    The women will get plenty of biscuit...
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  6. #6
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923

    Re: Forum Logic

    Originally posted by Paul Warren
    Code:
    Private Type PostType
        SimpleQuestion As Boolean
        FoundItFirst As Boolean
        MessID As Long
    End Type
        
    Public Bored As Boolean
    Public FallAsleep As Boolean
        
    Private Sub AnswerPosts(IAmInABadMood As Boolean, IAmAnArseHole As Boolean)
    ' August 2001, Paul Warren
    
    Dim Post As PostType
    
    Call SearchForNewPost(Post)
    
    With Post
    
        Do
            If .SimpleQuestion Then
                ' Let's work out if I'm a tw*t first
                If IAmInABadMood Or IAmAnArseHole Then
                    ' This bit will only ever be run by morons
                    Call AbusePoster(.MessID, "You Are Fik")
                Else
                    If .FoundItFirst Then
                        ' YES !!!
                        Call PostSolutionAndBeSmugAboutIt(.MessID)
                    Else
                        ' hmmm, I'm sure there's a more obscure way of doing it
                        Call FindBarelyRelatedCodeAndPostIt(.MessID)
                    End If
                End If
            Else
                ' Damn, a hard question - find another quick
                Call SearchForNextPost(Post)
            End If
    
        Loop Until Bored Or FallAsleep ' ZZzzzz
    
    End With
    
    End Sub
    That is soooo true...

  7. #7

    Thread Starter
    Hyperactive Member Paul Warren's Avatar
    Join Date
    Jun 2000
    Location
    UK
    Posts
    282
    Well, I'm off to Amsterdam now for the weekend so that's the most sense anyone is going to get out of me until about Wednesday next week.
    That's Mr Mullet to you, you mulletless wonder.

  8. #8
    Fanatic Member Gary.Lowe's Avatar
    Join Date
    May 2000
    Location
    In my sphere of influence
    Posts
    621
    A few for me Paul *Puff Puff*
    Gary Lowe
    VB6 (Enterprise) SP5
    ADO 2.6
    SQL Server 7 SP3

    OK I know my spelling and grammer is crap so don't quote me on it!

    To err is human to take the P! is only natural !!

    Click on the top section of image for Marcus Miller website and bottom section of image for 'Run For Cover' sound clip


  9. #9
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    Originally posted by Paul Warren
    Well, I'm off to Amsterdam now for the weekend so that's the most sense anyone is going to get out of me until about Wednesday next week.
    Now don't bring anything back with you!!

  10. #10
    Addicted Member Geoff Gunson's Avatar
    Join Date
    Jun 1999
    Posts
    241
    Originally posted by chrisjk
    Now don't bring anything back with you!!
    What like syphilis??

    G

  11. #11
    PowerPoster beachbum's Avatar
    Join Date
    Jul 2001
    Location
    Wollongong, NSW, Australia
    Posts
    2,274

    Re: Forum Logic

    Originally posted by Paul Warren
    For those of you who missed it here's the logic for answering questions in the other forums ( yes they do exist ) :
    Can i add one? lol
    Code:
    If Poster = Newbie then
         Post100LineAPICallToConfuseHellOutOfEm
    Else
         Post2LineVBStatementThatDoesSameThing
    End If
    Stuart Laidlaw
    Brightspark Financial Software
    http://www.gstsmartbook.com

  12. #12

    Thread Starter
    Hyperactive Member Paul Warren's Avatar
    Join Date
    Jun 2000
    Location
    UK
    Posts
    282
    Gary - I did. I had one for just about everyone on this site.
    Beachbum - LOL, too true.

    all - I didn't bring anything back with me except the wife although I tried to leave her behind.

    I am sooo tired.




    *snore*
    That's Mr Mullet to you, you mulletless wonder.

  13. #13
    Fanatic Member Gary.Lowe's Avatar
    Join Date
    May 2000
    Location
    In my sphere of influence
    Posts
    621
    So Paul

    When's the Paul Warren Guide To Amsterdam coming out then.
    Gary Lowe
    VB6 (Enterprise) SP5
    ADO 2.6
    SQL Server 7 SP3

    OK I know my spelling and grammer is crap so don't quote me on it!

    To err is human to take the P! is only natural !!

    Click on the top section of image for Marcus Miller website and bottom section of image for 'Run For Cover' sound clip


  14. #14

    Thread Starter
    Hyperactive Member Paul Warren's Avatar
    Join Date
    Jun 2000
    Location
    UK
    Posts
    282
    Here it is -

    Go to Dam square. Walk 1 minute to Rick's bar, buy some substance to your liking. Get wrecked in Susie's saloon next door because Rick's is just too seedy. About midnight stumble around the red light district for an ogle and a giggle. Go back to Susie's via the Pizza shop around the corner. Go back to the hotel via the pizza shop. Get back to hotel and try eating anything that's not nailed down. Collapse, wake up next day and repeat.
    That's Mr Mullet to you, you mulletless wonder.

  15. #15

    Thread Starter
    Hyperactive Member Paul Warren's Avatar
    Join Date
    Jun 2000
    Location
    UK
    Posts
    282
    No, it's more of a generic description. It can be applied for as long as a) You are still breathing, b) your resources last or c) you can get away with it.

    Oh, and I didn't really try to leave the wife behind. Who'd clean the house when I got back ?
    That's Mr Mullet to you, you mulletless wonder.

  16. #16
    Hyperactive Member barrk's Avatar
    Join Date
    Sep 2000
    Location
    My own little world
    Posts
    274
    *ahem*



  17. #17
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Hehe
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  18. #18

    Thread Starter
    Hyperactive Member Paul Warren's Avatar
    Join Date
    Jun 2000
    Location
    UK
    Posts
    282
    Katie, us British know how to keep the woman in her place. Damn, I think I forgot to unchain her from the sink before I left this morning ! Oh well, at least the kitchen will be sparkling when I get home tonight. Doh, forgot again, I'm with the mistress tonight but at least the wife's in the kitchen and she'll not starve.
    That's Mr Mullet to you, you mulletless wonder.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width