File mttroot/mtt/bin/trans/p/mtt_write.p artifact e259772c46 part of check-in 252807ac6d


PROCEDURE mtt_write(t	  : REAL;
		    x	  : StateVector;
		    y	  : OutputVector;
		    nx,ny : INTEGER);

{*
%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
%     %%%%% Model Transformation Tools %%%%%
%     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
      Pascal function mtt_write
      P.J. Gawthrop July 1998

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.4  1998/11/26 13:31:30  peterg
## Put missing space after 2nd t
##
## Revision 1.3  1998/07/25 20:41:38  peterg
## Spaces between numbers
##
## Revision 1.2  1998/07/25 14:04:14  peterg
## Changed format
##
## Revision 1.1  1998/07/25 09:47:25  peterg
## Initial revision
##
###############################################################


*}
 
VAR
   i : INTEGER;
   
BEGIN
   write(t," ");
   FOR i := 1 TO ny DO
      write(y[i]," ");

   write(t," ");
   FOR i := 1 TO nx DO
      write(x[i]," ");
   writeln;
END;
   


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]