/*- Author: Brian Tiffin Dedicated to the public domain Date started: November, 2016 Modified: 2016-12-20/22:51-0500 Tectonics: rexx tightloop-rexx.rex +*/ /* Sum of integers from 0 to 16777216 */ parse version host . . parse value host with 6 which +6 if which = "Regina" then numeric digits 16 total = 0 do n=0 to 2 ** 24 total = total + n end say total