saravanakumar
Member
Hi everybody,
The following code has got its self explanation, i have a small doubt in the following code. The default stream gets closed when we give INPUT CLOSE stmt. Then how is the nxt display getting printed...
Is that another default stream will be created???
******************************************************
/* A new unmaned as well as default stream will be created
when this procedure starts its execution */
DISPLAY "This is a sample msg".
/* Now if i am providing the following command,it closes the
default stream that is created */
INPUT CLOSE.
DISPLAY "Hi, Itzzz Meeee again!!".
******************************************************
The following code has got its self explanation, i have a small doubt in the following code. The default stream gets closed when we give INPUT CLOSE stmt. Then how is the nxt display getting printed...
Is that another default stream will be created???
******************************************************
/* A new unmaned as well as default stream will be created
when this procedure starts its execution */
DISPLAY "This is a sample msg".
/* Now if i am providing the following command,it closes the
default stream that is created */
INPUT CLOSE.
DISPLAY "Hi, Itzzz Meeee again!!".
******************************************************