How can I write out a vector to a file all on one line?


The *MWRITE command can be used to write out a vector
on a single line. The input is shown below. An alternative for
a short vector would be to specify *VLEN,1 and then use
*VWRITE,boris(1),boris(2),boris(3),boris(4),boris(5) and then (5F5.1).


*dim,boris,array,5
boris(1)=1,2,3,4,5
!
*mwrite,boris(1),b1,out,,ijk,5
(5F5.1)
*list,b1,out





Show Form
No comments yet. Be the first to add a comment!