I have functions VBA for GET and SET Lisp variables. How modify for VB .NET
Function GetLispVar(ByVal varname As String) As Object
Dim VL As Object
VL = CreateObject("VL.APPLICATION.16") '{color:#ff0000}<<< VBA, <<< VB .NET ??????
{color} With VL.ActiveDocument.Functions
GetLispVar = .Item("eval").funcall(.Item("read").funcall(varname))
End With
End Function
Sub SetLispVar(ByVal varname As String, ByVal value As Object)
Dim VL As Object
VL = CreateObject("VL.APPLICATION.16") {color:#ff0000}'<<< VBA, <<< VB .NET ??????
{color} With VL.ActiveDocument.Functions
.Item("set").funcall(.Item("read").funcall(varname), value)
End With
End Sub
OK.
Thank you.
FELIXJM - BR