Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. One enum to rule them all...

One enum to rule them all...

Scheduled Pinned Locked Moved The Weird and The Wonderful
14 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Duncan Edwards Jones

    ''' <summary>
    ''' Generates search string using the hierarchy:
    ''' 1. SEDOL and ISIN and CUSIP 2. SEDOL and ISIN 3. SEDOL 4. ISIN 5. CUSIP
    ''' </summary>
    Public Enum HierarchycalEquitySeachType As Integer
    SEDOL_ISIN_CUSIP___SEDOL_ISIN___SEDOL___ISIN___CUSIP
    End Enum

    See - this is pretty much self documenting code... :sigh:

    P Offline
    P Offline
    phil o
    wrote on last edited by
    #4

    The declaration of the enumeration is exotic, for sure. Its usage is even more:

    Dim type As HierarchycalEquitySeachType = HierarchycalEquitySeachType.SEDOL_ISIN_CUSIP___SEDOL_ISIN___SEDOL___ISIN___CUSIP

    I don't know for you, but that makes me nauseous.

    There are two kinds of people in the world: those who can extrapolate from incomplete data.

    1 Reply Last reply
    0
    • OriginalGriffO OriginalGriff

      You called?

      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

      D Offline
      D Offline
      den2k88
      wrote on last edited by
      #5

      Yes, and now by sheer :baaaa!: power I bind you to my will! :java: :D

      Geek code v 3.12 GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- r++>+++ y+++* Weapons extension: ma- k++ F+2 X I use 1TBS

      A OriginalGriffO 2 Replies Last reply
      0
      • D den2k88

        Yes, and now by sheer :baaaa!: power I bind you to my will! :java: :D

        Geek code v 3.12 GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- r++>+++ y+++* Weapons extension: ma- k++ F+2 X I use 1TBS

        A Offline
        A Offline
        Afzaal Ahmad Zeeshan
        wrote on last edited by
        #6

        With great power comes great re-putation! :laugh:

        The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

        1 Reply Last reply
        0
        • D den2k88

          Yes, and now by sheer :baaaa!: power I bind you to my will! :java: :D

          Geek code v 3.12 GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- r++>+++ y+++* Weapons extension: ma- k++ F+2 X I use 1TBS

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #7

          Nice try...but...I see no pentagram. Or Octagram, or Hexagram. So...I'm free! FREE AT LAST! MWHAHAHAHA! FOOLS! YOU HAVE RELEASED ME FROM MY ETERNAL PRISON!

          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          D A Sander RosselS L 4 Replies Last reply
          0
          • OriginalGriffO OriginalGriff

            Nice try...but...I see no pentagram. Or Octagram, or Hexagram. So...I'm free! FREE AT LAST! MWHAHAHAHA! FOOLS! YOU HAVE RELEASED ME FROM MY ETERNAL PRISON!

            Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

            D Offline
            D Offline
            den2k88
            wrote on last edited by
            #8

            What have you done! You named that! The Two-times-four-ctagram! That is the forbidden number of magic! :D Anyway, I know your weakness anc can drive you trough the portal: <Portal> :baaaa!: :baaaa!: :baaaa!:

            Geek code v 3.12 GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- r++>+++ y+++* Weapons extension: ma- k++ F+2 X I use 1TBS

            1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              Nice try...but...I see no pentagram. Or Octagram, or Hexagram. So...I'm free! FREE AT LAST! MWHAHAHAHA! FOOLS! YOU HAVE RELEASED ME FROM MY ETERNAL PRISON!

              Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

              A Offline
              A Offline
              Afzaal Ahmad Zeeshan
              wrote on last edited by
              #9

              Wierd. :omg: :sigh: :| At least you could have coughed for once Griff.

              The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

              1 Reply Last reply
              0
              • D Duncan Edwards Jones

                ''' <summary>
                ''' Generates search string using the hierarchy:
                ''' 1. SEDOL and ISIN and CUSIP 2. SEDOL and ISIN 3. SEDOL 4. ISIN 5. CUSIP
                ''' </summary>
                Public Enum HierarchycalEquitySeachType As Integer
                SEDOL_ISIN_CUSIP___SEDOL_ISIN___SEDOL___ISIN___CUSIP
                End Enum

                See - this is pretty much self documenting code... :sigh:

                K Offline
                K Offline
                kmoorevs
                wrote on last edited by
                #10

                X| My sympathies! Good thing for intellisense! :laugh:

                "Go forth into the source" - Neal Morse

                1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  Nice try...but...I see no pentagram. Or Octagram, or Hexagram. So...I'm free! FREE AT LAST! MWHAHAHAHA! FOOLS! YOU HAVE RELEASED ME FROM MY ETERNAL PRISON!

                  Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                  Sander RosselS Offline
                  Sander RosselS Offline
                  Sander Rossel
                  wrote on last edited by
                  #11

                  I recommend going back while it's not too late. It's not as fun out here as you might think :sigh:

                  Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                  Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                  Regards, Sander

                  1 Reply Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    Nice try...but...I see no pentagram. Or Octagram, or Hexagram. So...I'm free! FREE AT LAST! MWHAHAHAHA! FOOLS! YOU HAVE RELEASED ME FROM MY ETERNAL PRISON!

                    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #12

                    I would use a hexadecigram.

                    The language is JavaScript. that of Mordor, which I will not utter here
                    This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
                    "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

                    1 Reply Last reply
                    0
                    • D Duncan Edwards Jones

                      ''' <summary>
                      ''' Generates search string using the hierarchy:
                      ''' 1. SEDOL and ISIN and CUSIP 2. SEDOL and ISIN 3. SEDOL 4. ISIN 5. CUSIP
                      ''' </summary>
                      Public Enum HierarchycalEquitySeachType As Integer
                      SEDOL_ISIN_CUSIP___SEDOL_ISIN___SEDOL___ISIN___CUSIP
                      End Enum

                      See - this is pretty much self documenting code... :sigh:

                      N Offline
                      N Offline
                      Nagy Vilmos
                      wrote on last edited by
                      #13

                      I'm scared, people still use SEDOL?!?!

                      veni bibi saltavi

                      I 1 Reply Last reply
                      0
                      • N Nagy Vilmos

                        I'm scared, people still use SEDOL?!?!

                        veni bibi saltavi

                        I Offline
                        I Offline
                        Ian Shlasko
                        wrote on last edited by
                        #14

                        Not in MY systems, but in third-party ones... Ugh... Yes.

                        Proud to have finally moved to the A-Ark. Which one are you in?
                        Author of the Guardians Saga (Sci-Fi/Fantasy novels)

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups