before dotcmd before while before break after while after dotcmd, return value: 0