Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - What does equivalence mean in fortran?
What does equivalence mean in fortran?
Equivalence means * * * using memory. For example, equivalence (a, b) means that A and B are equivalent, changing A will change B, and vice versa.

This syntax is used in FORTRAN77 to realize some functions of pointers. This function is not recommended after Fortran90. Pointers are introduced into fortran after Fortran90, which makes it easier to understand and manage.