
!for i=1 to $saverank
 v$i=!rawmatrix $(v$i)
 error_data=$i
 !if $wims_warn_rawmatrix!=$empty
  error=rawmatrix
  !exit
 !endif
 v=!varlist $(v$i)
 !if $v!=$empty
  error=has_variables
  !exit
 !endif
 Rows=!linecnt $(v$i)
 l=!line 1 of $(v$i)
 Cols=!itemcnt $l
 !ifval $Cols!=$cols or $Rows!=$rows
  error=bad_size
  !exit
 !endif
 vv=!lines2items $(v$i)
 base=!append line $vv to $base
!next i
error_data=

