1 2 3 4 5 6 7
before function before dotcmd before function before return after function after dotcmd after function