Code: Select all
Structure MyMap
List MyList.i()
EndStructure
Define NewMap MyMap.MyMap()
; This line compiles fine in SB, but causes a compiler error in PB:
MyMap("1")\MyList() = 1
Code: Select all
Structure MyMap
List MyList.i()
EndStructure
Define NewMap MyMap.MyMap()
; This line compiles fine in SB, but causes a compiler error in PB:
MyMap("1")\MyList() = 1
Yes, this happens at runtime.
Code: Select all
Structure MyMap
List MyList.i()
EndStructure
Define NewMap MyMap.MyMap()
MyMap("1")\MyList() = 1
MessageRequester("","msg")
Code: Select all
Define NewList MyList()
Debug ListIndex( MyList() )
; In PureBasic the result is: -1
; In SpiderBasic the result is: 0