Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

integer counter giving error

Former Member
0 Likes
439

hi all,

I am using the following logic for counter:

data: count type i.

count = count + 1.

but when the value gets to double figures i.e. 10 for count then the count value becomes *. giving error at this stage.

Any suggestions. Thanks.

Regards,

FS

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
419

Hi FS,

i tried your code but iam not getting any error ,

run this code

data: count type i.

do 20 times.

count = count + 1.

enddo.

write: count.

Regards

Adil

2 REPLIES 2
Read only

Former Member
0 Likes
420

Hi FS,

i tried your code but iam not getting any error ,

run this code

data: count type i.

do 20 times.

count = count + 1.

enddo.

write: count.

Regards

Adil

Read only

Former Member
0 Likes
419

Hi,

declare counter as character and check.

data: variable(4).

Reward points