Home  |  IT Zone  |  Tips / Tricks  |  Did You Know  |  Inspirational  |  Health  |  World Infos  |  Insurance  |  Universities  |  Forex  |  Mathematics  |  Illusions  |  Children Day Quotes  |  Fun / Jokes  |  Decent Quotes  |  Birthday Msgs  |  Good Morning Msgs  |  Good Night Msg  |  Husband Wife Jokes  |  Teacher Students Jokes  |  Insult Jokes  |  Love Quotes  |  Sad Quotes  |  Funny Pics  |  Be Aware  |  Articles  |  Simple Joys of Life 

What is the function and syntax of READ...DATA Statement?

The READ statement contains the names of the memory locations to be used to store the information in. The DATA statement contains the information that is to be read in and stored in the computer's memory. 
 
Syntax of READ...DATA Statement.
 
READ (variable1, variable2, variable3, ...)
...........
..........
..........
DATA (constant1, constant2, constant3, ...)


Example:
CLS
READ n$, cl, r
PRINT "Name = "; n$
PRINT "Class = "; cl
PRINT "Roll = "; r
DATA John,5,1
END

Share :

Twitter
Back To Top

facebook main

Powered by Blogger.