Is there anything wrong with my code?

How can I tell it what Reverse is then?

In a similar way to how you told it what "AnalogIn" was.