- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
The content of types that are declared using "class" instead of "type" (e.g. in type bound procedures) does notshow correctly in the debugger (VS2008).
In the attached example code, the debugger shows B%val as 1.67....e-313instead of the expected 27.23.
The write statement works fine though and output 27.23 as expected.
Replacing class by type does correct the problem. However, doing this is not possible in type bound procedures.
Seeing all the problems I have foundin V11.1.035 so far, I do get the impression thatV11.1.035 shouldhave never been released as astable build.In my opinion,V11.1.035 should have been a (public)beta version as many of the new features don't work reliably enough for production environments. This is very unfortunate though, as I would really like to use the OO-features in some of our project.
Best regards,
Thomas
[plain]program TestClasses implicit none type :: tClass real(8) :: val = 27.23 end type class (tClass),allocatable :: B ALLOCATE(tClass::B) WRITE (*,*) B%Val end program TestClasses[/plain]
Link kopiert
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Thanks, I'll have this looked into.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
I am experiencing the same problem with IVF 11.1.46. Is this supposed to be fixed for 11.1.46 or will it be fixed in a later compiler release. I am using VS2005 with Windows XP.
Thanks,
Jon
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
I am experiencing the same problem with IVF 11.1.46. Is this supposed to be fixed for 11.1.46 or will it be fixed in a later compiler release. I am using VS2005 with Windows XP.
Thanks,
Jon
Hello jond
It was not fixed yet, but, asSteve said, it will be fixed in a future release. I'm also trying to use some OO features, and getting the same errors.
Roger
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Also, we discovered recently (too recent to make the next update) that CLASS objects that are dummy arguments do not display correctly.
We hope to fix that for a later update.
- Lorri

- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite