- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
- Etiquetas:
- Intel® Fortran Compiler
Enlace copiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Your code is fine, except for thefact that # is not allowed as operator name. You can only redefine standard operators (+, -, *, //, >, etc.) or define your own in form of .OP. Thus, you need either
interface operator (.OF.)
or, for example, < could look like a good candidate (just from the "aesthetical" viewpoint)
interface operator (<)
print *, structaddress(5)
Unfortunately, the most "natural" choice for the task in question would be something like [ ], e.g.
print *, structaddress(5)[num]
but this is not allowed.
Jugoslav
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Thank you very much!
My task is very simple: I just want to define a allocatable array, and the refer it like a normal array, but the array must be able to be appended when its size is not enough. When reallocated, the former allocated can't be deallocated, because some other pointers pointed to it!
How can I realize this task?
Zhanghong, Tang
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Thank you very much!
Each time I can study so much from you!

- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla