Need help in delcaring output port

Hi,
i am a noob in programming . can anyone help me ? i need to know whats the command for declaring output .For example if Pb 1 is a free output .
can anyone show me how to delcare ? By giving me an example ?:smiley:
thanks thanks