Reply To: Total sum of value in buffer

Home Forums Problems and solutions in GDL Others Total sum of value in buffer Reply To: Total sum of value in buffer

#2724
Barry Kelly
Participant

Maybe this?

for n = 1 to (NSP)
	totalSum = totalSum + GET (1)
next n

print totalSum

Barry.

Versions 6.5 to 22
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit