Skip to Content
0
Former Member
Jul 16, 2008 at 08:19 AM

But every time I run the program, the return number is always 32.

246 Views

I write a simple test program ; get the random number with the function as below.

But every time I run the program, the return number is always 32.

can you teach what's happend??thank you

CALL FUNCTION 'QF05_RANDOM_INTEGER'

EXPORTING

ran_int_max = 33

ran_int_min = 1

IMPORTING

ran_int = l

EXCEPTIONS

invalid_input = 1

OTHERS = 2.