title: Bash array of functions
body: <p>I'm trying to create an array of functions in order to iterate through each function in order.</p>
  
  <pre><code>declare -a FUNCTION
  FUNCTION[1]="FUNCTION.A"
  FUNCTION[2]="FUNCTION.B"
  FUNCTION[3]="FUNCTION.C"
  
  for i in "${!FUNCTION[@]}"; do
    ${FUNCTION[$i]};
  done
  </code></pre>
  
  <p>This just prints out FUNCTION.A and says command not found. I need it to run the function. Suggestions?</p>