Raun -

The trick is to use a List object for the output.

Here is code that might help:

  Sub RunScript(ByVal x As Object, ByVal y As Object ByVal z As
Object)
    Dim Sorted As New List(Of Object)
    Sorted.Add(x)
    Sorted.Add(y)
    Sorted.Add(z)
    A = Sorted
  End Sub




On Jan 20, 9:39 am, Raun <[email protected]> wrote:
> Hi,
>
> I am in trouble with some vb.net script to sort three lists into one.
> The issues is that I would like to sort the lists so that I get the
> first 20 3dpoints from the x list, the first 20 3dpoints from the y
> list and the first 20 3dpoints from the z list. Then i should be
> repeated with the the next 20 of each list.
> Could anyone refer my to example that has dealt with a similar issue
> so that I can see how to get around it and learn a little more about
> scripting.
>
> Cheers
>
> Christian

Reply via email to