Revision 10
Revision 10
Revision 10
Chapter-
1. File Handline:
● Process of creating data file.
● Syntax:
CLOSE #file number, #file number, ……..
c. INPUT Statement:
● Used to receive or take data from user in the program.
● It returns TRUE if the end of the file has been reached and returns FALSE
when the end of the file has not been reached.
● Syntax:
EOF ( file number )
● Eg:
EOF ( 1 )
5. Methods of Questions:
1. For…………next Loop:
● if the questions tells or says to store fixed number of datas or
records in the sequential data file, we use this loop.
2. GOTO……TOP:
● IF the questions tells or says to store the records or datas in the
data file according to the user’s choice or need or more records
without any fixed number than we use this GOTO…TOP
statement.
Note: These above methods are applicable for OUTPUT MODE and APPEND
MODE only but not for INPUT MODE.
● WHILE…..WEND Loop.
● IF statement
To read or displays or perform other operations like count, delete, search,
copy etc the above mentioned points are used in the program.