View Single Post
Old April 1st, 2003, 03:11 PM     #10 (permalink)
Morphios
Junior Member
 
Join Date: Mar 2003
Location: Florida USA
Posts: 18
Quick question

Can I write the other 7 methods in a similar vain or should I be thinking of if and else statements e.g:




Code:
//These methods set the State to open and closed respectively.

void BarrierOpen(void);
    {
        BarrierOpen = State;
    }

void BarrierClosed(void);
    {
        BarrierClosed = State;
    }

I am trying to write the code file but am unsure if the methods need anything harder.

Guidance appreciated

Morphios
Morphios is offline   Reply With Quote