CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: testing...

  1. #1
    Join Date
    Mar 2003
    Location
    Western NY
    Posts
    43

    testing...

    my test

    PHP Code:
        enum TState offpowerupon }; //  0-off, 1-Pwr up, 2-on(enum?) 
    end my test

  2. #2
    Join Date
    Mar 2003
    Location
    Western NY
    Posts
    43
    enum TState { off, powerup, on }; // 0-off, 1-Pwr up, 2-on(enum?)

    struct Record
    {
    TState State; // state of the TEU & switch
    int nSeqNum; // TEU number, 1...n; for the sequentially numbered TEUs,
    // NOT the btnnumber on the page (13-24)
    bool bExist; // since the buttons are static on the page this tracks if
    // the button is even used or is disabled
    Set2PowerPage *pp; // copy of the dynamic pointer created when the page
    // was created
    };

  3. #3
    Join Date
    Mar 2003
    Location
    Western NY
    Posts
    43
    Originally posted by JeepN
    enum TState { off, powerup, on }; // 0-off, 1-Pwr up, 2-on(enum?)

    struct Record
    {
    TState State; // state of the TEU & switch
    int nSeqNum; // TEU number, 1...n; for the sequentially numbered TEUs,
    // NOT the btnnumber on the page (13-24)
    bool bExist; // since the buttons are static on the page this tracks if
    // the button is even used or is disabled
    Set2PowerPage *pp; // copy of the dynamic pointer created when the page
    // was created
    };
    PHP Code:
    [CODE][/CODE

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

Featured