Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

simple quetion

naveen_inuganti2
Active Contributor
0 Likes
876

Hi.....

X = indian

Write:/ X

... which gives indian as out put...

now i want to get

"dian" as output...

What is the write statement for that....

Thank you,

Naveen.I

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
855

data : x(6),

y(4).

x = 'indian'.

y = x + 2(4).

write : y.

Regards.

Dara.

Hi.....

X = indian

Write:/ X

... which gives indian as out put...

now i want to get

"dian" as output...

What is the write statement for that....

Thank you,

Naveen.I

6 REPLIES 6
Read only

Former Member
0 Likes
855

HI,

write: x+2.

regards

Nicole

Read only

Former Member
0 Likes
855

write as :

Write:/ X+2

Read only

Former Member
0 Likes
856

data : x(6),

y(4).

x = 'indian'.

y = x + 2(4).

write : y.

Regards.

Dara.

Read only

Former Member
0 Likes
855

Hi Naveen,

you can use offset for that, refer the below code:

WRITE: x+2.

or

WRITE: x_2(4).

Regards,

Sunil

Read only

Former Member
0 Likes
855

Hello Naveen-

write x+2(4).

Cheers,

~Srini,,,

Read only

Former Member
0 Likes
855

Hi,

write:/ X+2(4).

Regards,

Shiva