 }
 
 //returns zero if value does not exist.
-double getValue(const char x) 
-{
+double getValue(const char x) {
   int i;
   //find entry
   for (i=0; i<commandLength; i++) {

  c->value  = strtod((const char*)&str[1], NULL);
}

void purge_commands() 
{
  commandLength = 0;
}

void parse_commands(uint8_t *str) 
{
  uint8_t *token;
  uint8_t index = 0;
/* 
  do {
    token = (uint8_t*)strtok((char*)str, " \t"); //split on spaces and tabs
    str = NULL;
    if (token) addObj(token);
  } while (token);
*/

  while (str[index]) {
    token=str+index;

}


bool command_exists(const char x) {
  for (int i=0; i<commandLength; i++) {
    if (command_list[i].type == x) return 1;
  }
