Not understanding what is going on here, only using constants...

how would you put the board start code into a function. I need those pin name usable throughout the code.

edit: never mind, answer my own question....brain is not functioning yet, sigh, but C/C++ is nothing like basic. But I did go through the reference and figured out most of what I'm doing wrong. Have to use digitalWrite to set pins, not jus high or low. Thanks to those who helped.