Fix side effect in select case resource bug

Code like this:

   case c_process:>cmd_rcvbuffer[i++]:

Is bad since the increment to i will happen everytime the select happens (not just when this case is taken). 

Future versions of the compiler will error on this case.

Dave