Skip to content

Commit

Permalink
Update ch08-00-pointer.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Euler-37 authored Mar 31, 2024
1 parent eaec478 commit 569634e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ch08-00-pointer.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,13 @@ write(*,*)a
- 同一个语句中不能连续定义
``` fortran
associate(x=>point(1),x2=>x*x ) !错误
end associate
```
需要改成
``` fortran
associate(x=>point(1))
associate(x2=>x*x)
end associate
end associate
```
这是`associate`结构的不足之处

0 comments on commit 569634e

Please sign in to comment.