‎2006 Sep 14 10:27 AM
hi all
can anyone tell me how to declare length for string type of variables
‎2006 Sep 14 10:28 AM
‎2006 Sep 14 10:29 AM
‎2006 Sep 14 10:30 AM
‎2006 Sep 14 10:32 AM
‎2006 Sep 14 10:36 AM
‎2006 Sep 14 12:25 PM
data : v1 type string.
this itself is a sequence of characters. no need to define explicit length for STRING data type.
alternatively,
data : v1(100) type C.
this also you can use.
Regards
Srikanth
‎2006 Sep 14 1:12 PM
Hi,
The length of a string is not static but variable and adjusts itself to the current field content at runtime. Dynamic memory management is used internally. Strings can have any length. The initial value of a string is an empty string with length 0.
Hope this will make you clear. Please reward if answer satisfy you !!!
Regards,
Jignesh