muthu123 Posted December 9, 2010 Posted December 9, 2010 Is there any way to convert Result buffer to arrays? I need to convert one list to equivalent array when it is supplying from command prompt along with user defined lisp function as argument. For eg : -----code----------starts-- _ Public Function VBLf_MFL(ByVal rbfArgs As ResultBuffer) As ResultBuffer MsgBox(rbfArgs.ToString()) End Function -----code---------- Ends – When I am providing.. (GetD (list "kk" "pp" 1 )) to command prompt.. I will get the following message . I want to convert it into array… is there any way instead of writing a string splitting function..(prefer VB.Net code..) Quote
Jeff H Posted December 9, 2010 Posted December 9, 2010 Have you tried something like _ Public Function VBLf_MFL(ByVal rbfArgs As ResultBuffer) As ResultBuffer Dim tv() As TypedValue = rbfArgs.AsArray For i = 0 To tv.Length - 1 MsgBox(tv(i).ToString()) Next End Function Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.