Results 1 to 40 of 2082

Thread: TwinBasic

Threaded View

  1. #11
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    6,203

    Re: TwinBasic

    This

    Class Test

    Private Property Get Data(ByVal First As Long, Optional ByVal Index As Long) As Long

    End Property

    Private Property Let Data(ByVal First As Long, Optional ByVal Index As Long, ByVal lValue As Long)

    End Property


    Public Sub Init()
    Data(3) = Data(4)
    End Sub

    End Class


    . . . fails with "too few arguments, expected at least 2 in call to 'Data'".

    Passing an explicit value for the optional Index parameter fixes it.

    Quote Originally Posted by WaynePhillipsEA View Post
    Thanks @wqweto, these will be fixed in tomorrows release! Also, if I remember correctly, we made our version of VarPtr accept arrays natively.
    Cool!

    Unfortunately my cAsyncSocket class is both using With MyUdt / End With in a few places *and* is raising events with RaiseEvent OnReceive (to be usefull for anything) so I'll have to wait a few more weeks to test porting my VNC server (headless and perfect match for TB testing).

    cheers,
    </wqw>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width