== reposting from an earlier private message ==
To VisualAPL tech support,
I am trying to do a simple proof of concept with VisualAPL. Following a COM example I was able to make the program below work as a COM object, calling it from APL+Win and VBA. I need to make the same code work calling it as a dll either from C# or VB .NET. Is there an online example of a simple console .NET C# or VB program calling a VisualAPL dll?
#region Using directives
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices
#endregion
namespace APLPOC1{
[Guid("E7BD7ACF-770D-4747-8810-6A61A4DFEC2D")]
[ClassInterface(ClassInterfaceType.AutoDual)]
[ProgId("APLPOC1")]
public class Circle{
public function double Area(double Radius)
{return ○1×Radius*2}
public function Area_NoStringType(Radius)
{return ○1×Radius*2}
}
}