Please enable JavaScript to view this site.

Function that returns the sum of n elements of an array.

Syntax

i32 sumr_mem (real buff, i32 nEl)

buff

Array of real

nEl

Number of array elements you want to sum from the first position

Result

Returns the sum of the top nEl elements of the array

Validity

Rule, Task

Note


 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC