1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Reading line by line in a textbox

Discussion in 'C#' started by david0342, Sep 10, 2010.

  1. david0342

    david0342 New Member

    Joined:
    Sep 10, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello, I need help reading a line, one by one in C#. Basically, what I want to do is read a line one by one and then check for a label (which ends in :). Like this:

    (Assembly code)

    LDA #$40
    SEC
    SBC #$10
    BEQ Label1
    RTL

    Label1:
    RTL

    It would read all lines and add that label Label1 to a combo box. What I want to do is add all labels to a combo box so that I can later easily access them instead of using CTRL + F in my project. I'm kinda new to C# so help would be appreciated.
     

Share This Page