Macros
// Yes I wrote this code with a macro if (someValue == "someOtherValue1") { return 1 } else if (someValue == "someOtherValue2") { return 2 } else if (someValue == "someOtherValue3") { return 3 } else if (someValue == "someOtherValue4") { return 4 } else if (someValue == "someOtherValue5") { return 5 } else if (someValue == "someOtherValue6") { return 6 } else if (someValue == "someOtherValue7") { return 7 } else if (someValue == "someOtherValue8") { return 8 } else if (someValue == "someOtherValue9") { return 9 } else if (someValue == "someOtherValue10") { return 10 } else if (someValue == "someOtherValue11") { return 11 } else if (someValue == "someOtherValue12") { return 12 } else if (someValue == "someOtherValue13") { return 13 } else if (someValue == "someOtherValue14") { return 14 } else if (someValue == "someOtherValue15") { return 15 } else if (someValue == "someOtherValue16") { return 16 } else if (someValue == "someOtherValue17") { return 17 } else if (someValue == "someOtherValue18") { return 18 }