REM to add record in an existing file
CLS
Open ”Record.Dat” FOR OUTPUT AS #1
AA: c4 B3 44 Input “Enter Name, Class and Roll No. “; Nm$, CI, Rn. Input #2, Nm$, CI, Rn. Input “More records”; Y$. IF UCASE$(Y$)=”y” THEN GOTO aa CLOSE “Record.dat”. END
REM to add record in an existing file
CLS
Open ”Record.Dat” FOR OUTPUT AS #1
AA: c4 B3 44 Input “Enter Name, Class and Roll No. “; Nm$, CI, Rn. Input #2, Nm$, CI, Rn. Input “More records”; Y$. IF UCASE$(Y$)=”y” THEN GOTO aa CLOSE “Record.dat”. END
Leave a Reply
You must be logged in to post a comment.