Dynamic arrays in UDT: ARRAY SUM
issueid=570 10-11-2019 17:40
Super Moderator
Number of reported issues by Petr Schreiber: 162
Dynamic arrays in UDT: ARRAY SUM

ARRAY SUM:
TYPE MyType
  myArray() as int32
  
  function _Create()
    redim me.myArray(3)
    me.myArray(1) = 3, 1, 2
    
    int32 total = array sum me.myArray()
    
    msgbox 0, total
    
  end function
END TYPE


dim v as MyType
Issue Details
Issue Number 570
Project thinBasic
Category Core engine (thinCore.dll)
Status Confirmed
Priority 5 - Medium
Affected Version 1.10.0
Fixed Version (none)
Milestone (none)
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




10-11-2019 19:07
Issue Changed by Petr Schreiber
  • Status changed from Unconfirmed to Confirmed

+ Reply