View previous topic :: View next topic
|
Author |
Message |
treddy
New User
Joined: 01 Jun 2005 Posts: 7
|
|
|
|
Accept the negative value from the Map. |
|
Back to top |
|
|
krishh
New User
Joined: 20 May 2005 Posts: 12
|
|
|
|
hai reddy.
passing negative values means
you want to enter the values through the map or you want to display the values in the map for the purpopse you have specify in the map field definaion as PIC IN specify the input data tyupe.
and specify PIC OUT to the output data tuype.
default is alphanumeric |
|
Back to top |
|
|
sarma Kappagantu
New User
Joined: 17 Mar 2005 Posts: 22 Location: Bangalore
|
|
|
|
It is best to avoid having to accept negative values. If it is not possible, the folliwing methods can be used.
1. Have a separate filed for sign and value. Get the sign and values into two variables to your program and handle them. This is the most simple way to handle the situation. (A similar method can be used to accept integer and decimal values.)
2. Accept the value with a '-' sign and use INSPECT caluse to get the ...
Regards,
Sarma. |
|
Back to top |
|
|
|