arexx help
hi I'm having trouble with my arexx code it runs, but nothing happens here is the listing:
/* my program */
LoopCounter = 0
PlaceValue1 = 0
PlaceValue10 = 0
PlaceValue100 = 0
PlaceValue1000 = 0
do while LoopCounter < 1000
if PlaceValue1 > 9 then
PlaceValue1 = 0
PlaceValue10 = PlaceValue10 + 1
end /* end of IF statement */
if PlaceValue10 < 9 then
PlaceValue10 = 0
PlaceValue100 = PlaceValue100 + 1
end /* end of IF statement */
if PlaceValue100 < 9 then
PlaceValue100= 0
PlaceValue1000 = PlaceValue1000 + 1
end /* end of IF statement */
say "hi!" PlaceValue1000 PlaceValue100 PlaceValue10 PlaceValue1
/* Displays hi! followed by the current value in the PlaceValue Variables */
LoopCounter= LoopCounter +1
end /* end of While statements */
Thanks for any help received
Last edited by jimbobrocks92; 19 January 2011 at 09:26.
Reason: added thanks
|