I have an add method with code like:
My remove method in the same interface has code like:
Item is an interface, like i said, it compiles fine if i remove the remove method.
(Iow, Add() works)
PowerBASIC for Windows
PB/Win Version 9.00
Copyright (c) 1996-2008 PowerBasic Inc.
Venice, Florida USA
All Rights Reserved
Error 482 in ......: Data type mismatch
Line 1232: Array Delete M_Items( nIndex )
Code:
ReDim Preserve M_Items( 0 To nIndex ) M_Items( nIndex ) = Item
Code:
Method RemoveAt( ByVal nIndex As Long ) As Long Array Delete M_Items( nIndex ) End Method
(Iow, Add() works)
PowerBASIC for Windows
PB/Win Version 9.00
Copyright (c) 1996-2008 PowerBasic Inc.
Venice, Florida USA
All Rights Reserved
Error 482 in ......: Data type mismatch
Line 1232: Array Delete M_Items( nIndex )
Comment