|
-
Apr 11th, 2021, 08:14 AM
#11
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.
 Originally Posted by WaynePhillipsEA
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>
Last edited by wqweto; Apr 11th, 2021 at 08:18 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|