- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
The authors of some source code I have found over the internet (regarding the treatment of generic linked lists under www.fortran.com) claim that TRANSFER function does not accept pointer arguments. However, simple tests that I have performed with IVF 10.1.21 suggest that TRANSFER does accept pointer arguments. Is this a compiler specific behavior? Would other compilers complain about it?
Thanks,
Jon
Thanks,
Jon
- Marcas:
- Intel® Fortran Compiler
Link copiado
1 Responder
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I don't see anything in the Fortran standard to exclude pointer arguments from TRANSFER. Of course, such arguments will be automatically dereferenced so you are accessing the data, not the pointer, just like in any other variable reference.
Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora