#!PECMD


//testread_cmd.wcs:
//命令输出3行
EXEC* &MSG=!CMD.EXE  /c echo 111& echo 222&echo 333
//MESS. %&MSG%  @#OK
ENVI$ NL=0d 0a  //换行

READ -,-1,Lines,%&MSG%
READ -,1,Line1,%&MSG%
READ -,0,LastLine,%&MSG%
MESS. MSG[%&MSG%] %NL%行数[%Lines%] %NL%第一行[%Line1%] %NL%末行[%LastLine%] @#OK



