‎2006 Aug 01 8:27 AM
Hi all,
I am working on upgrading project from 4.0b to 4.7. I found syntax error " we can't define length of integer".
Example: c_field(15) int i.
How can i rectify that error. What should I replace with?
Thanks,
Shiva
‎2006 Aug 01 8:28 AM
c_field(15) int i.--->wrong
<b> c_field type i.</b>
or try using
c_field(15) type n.
‎2006 Aug 01 8:31 AM
Hi kishan negi,
But when we default length of integer is maximum 10. Variable length is 15. What to do?
Thanks.
SHiva
‎2006 Aug 01 8:30 AM
You cannot use size specification for integer data type.
Use
EG: var1 type i.
c_field(15) int i -> is a wrong way to define integer data type
Message was edited by: vinodh balasubramaniam
‎2006 Aug 01 8:33 AM
for integer we cannot specify any particular length
so write like this
DATA : c_FIELD type i.