Get command from serial

Yes, use a 'while' or 'for' statement.

Actually, looking at your code, I think you can simply remove the goto and its target label. It does nothing, as it is nested in loop().