Shifting code from PICAXE to Arduino

start of setup(){
set the pinModes() for the pins
start the Serial interface to allow debug messages to be output if required
end of setup()

}

start of loop()
read value from sensor
if value less than 449
turn on green LED
else
if value is greater than 449 and less than 471
turn on the yellow LED
else
if value is greater than 471
turn on the red LED
end if
end of loop()

}

GOT ERROR:

Arduino: 1.8.4 (Windows 7), Board: "Arduino/Genuino Uno"

sketch_nov16b:1: error: 'startof' does not name a type

start of setup(){

^

sketch_nov16b:1: error: 'start' does not name a type

start of setup(){

^

sketch_nov16b:8: error: 'start' does not name a type

start of loop()

^

sketch_nov16b:21: error: expected declaration before '}' token

}

^

exit status 1
'startof' does not name a type

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.