I have a problem to create a new delegate in Fortran .Net. I do it c# like this
public delegate CallBackFunction(String str, Int16 n);
But how shold I do this in Fortran.NET? I want to recommit a delegate within an ArrayList like this
public delegate void CallBackFunction(String str, Int16 n);
public CallBackFunction MyCallBackFunction;
System.Collections.ArrayList al = new System.Collections.ArrayList(10);
al.Add((Object)MyCallBackFunction);
Salford.Fotran.MyRoutine(al);
In this case I want to use the delegate within my Fortran Subroutine MyRoutine.
So how shoult I create/use the delegate in Fotran. I think about something like that: OBJECT('SYstem.delegate') :: mydelegate
mydelegate = al[0]
Greetings Michael