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

to clear buffer

aakash_neelaperumal2
Active Participant
0 Likes
534

How to clear the buffer stored in memory due to execution of write statement..

Example

Write : 'hello'.

***Have to clear buffer here**

write : 'How are you'.

I the code when executed should only display only 'How are you'..and the buffer for 'hello' should be cleared and not displayed on screen..

Any solution other than puttin condition checks is highly appreciated.

3 REPLIES 3
Read only

Former Member
0 Likes
469

Hi,

is it related to buffer..........

If u want only 'How are you' to be printed, over write on 'Hello' using 'SKIP TO LINE <line no>'.

Regards

Sreenivasa Reddy V

Read only

Former Member
0 Likes
469

Hello,

You can do like this

Write : 0(25)'hello'.

***Have to clear buffer here**

write : 0(25)'How are you'.

If useful reward.

Vasanth

Read only

aakash_neelaperumal2
Active Participant
0 Likes
469

no your solutions will only help to overwrite at the same position...I know that option...but Since all the write statements are buffered befrore they are output in screen...Clearing the buffer will be helpful