sscanf(args[1],"%d",&num);  if(num > 0 && num < 11) sdlWriteState(num-1);
if(n == 2) { sscanf(args[1],"%d",&num); if(num > 0 && num < 11) sdlWriteState(num-1); else debuggerUsage("save"); }
static void debuggerWriteState(int n, char **args){  int num;    sscanf(args[1],"%d",&num);    if(num > 0 && num < 11)    sdlWriteState(num-1);  else    debuggerUsage("save");}