Microsoft Windows* 8

When will new F2008 arrive

Hi

I'm just wondering about if the following F08 features are planned for the next (non-update) release:

 - SUBMODULEs

 - Derived types with ALLOCATABLE components of RECURSIVE type

with SUBMODULEs taking the pole position on my wish list (since PDTs happened) :)

I read in some other post that new features don't appear in updates, does that imply that we'll have to wait for version 16 (which I guess is due late in 2015) or could they come in 15.1, say?

Using Fortran dll in VBA of Excel 2010

Hello every one,

I am trying to use Fortran dll in VBA of Excel 2010, but I have a problem now.
I want to get virtual array as returned value, but failed. Here is my code,

* fortran 11

subroutine virtualArrayTest(iv_array,ii)
!DEC$ ATTRIBUTES STDCALL,REFERENCE,DLLEXPORT,ALIAS:"virtualArrayTest"::virtualArrayTest
implicit none
  integer,intent(out):: ii
  integer,allocatable,intent(out) :: iv_array(:)
  
  ii = 3
  allocate(iv_array(3))
  iv_array = 9

  return
end subroutine

 

Parameterized derived type and array-valued function returning component data: strange compiler behavior

Another strange one with parameterized derived types: the following simple code results in a compiler error,  incorrectly in my opinion.  But simply uncommenting the unrelated lines 17-26 makes the code compile ok:

Parameterized derived type and array-valued function returning component data: strange run-time behavior

Another strange one with parameterized derived types: the following code compiles with no errors or warnings, but I can't understand the run-time behavior.  With Release configuration, the array-valued function only returns the elements per the default length.  However with Debug configuration, it appears the run-time hangs up (is the function is trying to return an array of infinite (or very large) size?).  I think the code is ok.

Suscribirse a Microsoft Windows* 8