- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In Visual Studio 2019 I created a 'standard graphics application' type fortran project and added a source file with the following code
program lower2upper
character*80 stringa
write(6,'(a,$)')'enter lowercase text >'
read(5,*) stringa
do i=1,len(stringa)
if(index('abcdefghijklmnopqrstuvwxyz',stringa(i:i)).gt.0) then
stringa(i:i) = char(ichar(stringa(i:i))-32)
endif
enddo
write(6,'(a)') ' uppercase text >'//stringa
end program lower2upper
I compiled the project for the 32-bit platform using the 2022.1, 2021.4 and 2021.2 releases
The program crashes with the first two releases while it works with the third.
The same behavior is achieved with the 64-bit platform.
I also tried to create a 'QuickWin application' type fortran project with the same results.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think that is a known problem you can see it in a couple of recent threads on this forum. Maybe this one https://community.intel.com/t5/Intel-Fortran-Compiler/READ-a-error/td-p/1340829/page/2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Note that "Standard Graphics" is just a variant of QuickWin, one intended to emulate a DOS (!) application with just a full window and no controls or toolbar.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page