my test
end my testPHP Code:enum TState { off, powerup, on }; // 0-off, 1-Pwr up, 2-on(enum?)
Printable View
my test
end my testPHP Code:enum TState { off, powerup, on }; // 0-off, 1-Pwr up, 2-on(enum?)
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
};
Quote:
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]