‎2009 Jul 02 11:32 AM
what does this mean :-
data : value(3) type p decimals 2. does 3 denote lenght ????
‎2009 Jul 02 11:39 AM
Actually the formula is :-
if val(n) type p decimals 2 value 343.54. (here u must specify n value)
2n-1 is the total characters.
2 bytes will store a character / number
in the above case if u give n as 3,
it is interpreted as 2 * 3 - 1 = 5 characters.
3 bytes 34 - 1 byte , 35 - 2nd byte 4D - 3rd byte (D here is sign + or - ).
‎2009 Jul 02 11:47 AM
‎2009 Jul 02 11:56 AM
‎2009 Jul 02 11:44 AM
‎2009 Jul 02 1:10 PM
It means that soon we'll have another couple of guests, and your employer points total may reduce substantially - and they'll know it was down to you. Have a nice day.
matt
‎2009 Jul 02 1:18 PM
Yes '3' stands for length. but in case of this data type no means for this length.
Only for character type value this has some means.
If you define as
DATA : P_VAL type c valur 'anil'.
WRITE:/ p_val.
then it will display only 'a' i'e only first character.
and if you write it as
DATA : P_VAL type c valur 'anil'.
WRITE:/ p_val.
now it will display anil.
Regds,
Anil