1.

How Can I Sum The Elements In An Array?

Answer»

Here's ONE WAY:

INCLUDE std/math.e 
SEQUENCE a = {1,2,3,4,5,6,7,8}
? SUM(a) 

Here's one way:

include std/math.e 
sequence a = {1,2,3,4,5,6,7,8}
? sum(a) 



Discussion

No Comment Found