The read statement

Use to get input (data from user) from keyboard and store (data) to variable.
read variable1, variable2,…variableN




echo “Enter your name please”

read fname

echo “Welcome $fname”

1 Comment

  1. This is used in direct access files only. This is another branching option with the READ statement.

Leave a Reply

Your email address will not be published.


© 2017 My techbook

Theme by Anders NorénUp ↑