I am writing in my code some values to file,but I want to write them to new array.
apr1dsens(j,3,iprd)=2*g*(real(sens_zyx)*real(zyx)
& +aimag(sens_zyx)*aimag(zyx))
apr1dsens(j,4,iprd)=g1*(aimag(sens_zyx)*real(zyx)
& -aimag(zyx)*real(sens_zyx))
write(214,*)apr1dsens(j,3,iprd)
write(214,*)apr1dsens(j,4,iprd)
But when I try sens1p(i,j)=apr1dsens(j,3,iprd),apr1dsens(j,4,iprd) I got ircg.for(926): error #5082: Syntax error, found ',' when expecting one of: <END-OF-STATEMENT> ;
How to create a new array from these two?
apr1dsens(j,3,iprd)=2*g*(real(sens_zyx)*real(zyx)
& +aimag(sens_zyx)*aimag(zyx))
apr1dsens(j,4,iprd)=g1*(aimag(sens_zyx)*real(zyx)
& -aimag(zyx)*real(sens_zyx))
write(214,*)apr1dsens(j,3,iprd)
write(214,*)apr1dsens(j,4,iprd)
But when I try sens1p(i,j)=apr1dsens(j,3,iprd),apr1dsens(j,4,iprd) I got ircg.for(926): error #5082: Syntax error, found ',' when expecting one of: <END-OF-STATEMENT> ;
How to create a new array from these two?