NEW
The NEW command deletes the program currently in memory and clears all variables.Syntax
NEW
Points to remember
- NEW is entered at command level to clear the memory before entering a new program.
- BASIC always returns to command level after NEW is executed.
CS 3.1 Display on screen for NEW command
Ok
NEW
Ok
SAVE
The SAVE command is used to save a program file on adiskette or hard disk.
Syntax
SAVE file name
Where ,
File name : name of the file to be saved.
- file name is written within double question marks.
- the extension of the file saved in BASIC will be .BAS.
- if you wish. you can specify the extension as you like.
SAVE " BIODATA" press enter key
Saves the file with name "BIODATA" in he default drive (or part).
CS 3.2 Dsiplay on Screen for SAVE command
Ok
SAVE "BIODATA"
Ok
The file saved will be seen as BIODATA.BAS
Example 3
SAVE "A: \ BIODATA" press enter key
It is used to save file in the diskette in drive A : with the file name BIODATA the file saved will be seen as BIODATA.BAS.
CS 3.2 Dsiplay on Screen for SAVE command
Ok
SAVE "BIODATA"
Ok
The file saved will be seen as BIODATA.BAS
Example 3
SAVE "A: \ BIODATA" press enter key
It is used to save file in the diskette in drive A : with the file name BIODATA the file saved will be seen as BIODATA.BAS.
No comments:
Post a Comment