2007 Feb 22 7:08 AM
I have a variable of character type with length 10.Now i want to assign its value as ' But i am not able to do it bcoz its rising an error when i give it as var = ' ' '.Can anyone tell me how can i assign its value as '
Thanks & Regards
Sajid
2007 Feb 22 7:12 AM
Check the following code.
Data: g_val(1) type c.
initialization.
g_val = ''''.
start-of-selection.
write:/ g_val.
I have a variable of character type with length 10.Now i want to assign its value as ' But i am not able to do it bcoz its rising an error when i give it as var = ' ' '.Can anyone tell me how can i assign its value as '
Thanks & Regards
Sajid
2007 Feb 22 7:11 AM
Hi
I didnt understand exactly..
Anyway You can increase the length of that variable....
v_var(35)
Thanks
2007 Feb 22 7:11 AM
2007 Feb 22 7:12 AM
Check the following code.
Data: g_val(1) type c.
initialization.
g_val = ''''.
start-of-selection.
write:/ g_val.
2007 Feb 22 7:13 AM
2007 Feb 22 7:19 AM
2007 Feb 22 7:21 AM
Use four ' in order to get one '
var = '''' .
Write: ''''.
text-001 - '
Write:/ text-001. this works fine.
Please reward and close the thread.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |