i would like to write a txt in this format:
{{{ 1 2 3 4 5 .... }}}
for example a(i)=1 2 3 4 .... N
but N is variable and differ each time
this is part of my program but it seems to be wrong :
write(430,44) (b(i),i=1,N) !N<50
44 format(' {{{ ',50F6.3,'}}}')
after runing program it doesnot write }}} at the end. it only writes it when N==50. but N is variable and every time has an amount for axample 10 23 36 .
please help me writing in this format.
{{{ 1 2 3 4 5 .... }}}
for example a(i)=1 2 3 4 .... N
but N is variable and differ each time
this is part of my program but it seems to be wrong :
write(430,44) (b(i),i=1,N) !N<50
44 format(' {{{ ',50F6.3,'}}}')
after runing program it doesnot write }}} at the end. it only writes it when N==50. but N is variable and every time has an amount for axample 10 23 36 .
please help me writing in this format.