comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Adding arrays
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Adding arrays [message #91465] Fri, 17 July 2015 00:38 Go to previous message
Dete van Eeden is currently offline  Dete van Eeden
Messages: 32
Registered: July 2015
Member
Hallo,

I am trying to add arrays together in a for loop but the end result is just equal to the last array.

for k=0,5 do begin

read in the array etc.

final = final + array

endfor

The final is suppose to be the sum of all the arrays.

Thank you!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: creating arrays in loops
Next Topic: Creating KML error

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:14:11 PDT 2025

Total time taken to generate the page: 0.00422 seconds