User defined functions in .Net, Csharp or Java?

Use this forum to post Vensim related questions.
Post Reply
ajclarke
Junior Member
Posts: 13
Joined: Thu Apr 08, 2010 7:37 am

User defined functions in .Net, Csharp or Java?

Post by ajclarke »

I see that the examples of user defined functions in Vensim are in C. Has anyone got a simple example of one in Csharp or Java as I use .Net and not C or C++.

Also is it true that once the DLL is loaded it remains in memory and thereby keeps its private data persistent till the simulation ends?

Thanks
Administrator
Super Administrator
Posts: 4592
Joined: Wed Mar 05, 2003 3:10 am

Post by Administrator »

As far as I am aware, there are no samples of the DLL in C#/Java. However, if you can work with C# or Java you should have no trouble understanding C, the syntax is almost identical.

And the DLL does stay in memory once loaded.

Tony.
Post Reply