Skip to Content
avatar image
Former Member

types

i need to have number with -1 -2 -3...and 1 2 3

what is the declartion , give me the declare PLS too.

i declrare x(2) type n, but when i made x - 1 instead to get

-1 i get 01 .

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    May 10, 2006 at 12:56 PM

    Hi,

    you can use type i.

    data a type i.

    Regards

    vijay

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 10, 2006 at 01:01 PM

    hii

    try this

    data: num type i;

    hope this helps

    Thanks & Regards

    Naresh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 10, 2006 at 12:55 PM

    Hi,

    DATA : x TYPE i.

    Regards,

    Ravi

    Add comment
    10|10000 characters needed characters exceeded

  • May 10, 2006 at 12:56 PM

    Did you try the TYPE i ?

    Suresh

    Add comment
    10|10000 characters needed characters exceeded