program main
character(len=20) a
a="Good morning!"
write(*,*) a
a(6)="evening!"
write(*,*) a
stop

end


报错信息如下