def var SomeNumber as integer extent 20.
def var i as integer initial 1.
def var ArrayTotal as dec.
repeat while i <= 20.
assign
ArrayTotal = ArrayTotal + SomeNumber
i = i + 1.
end.
display ArrayTotal.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.