Showing posts with label Learn Qbasic. Show all posts
Showing posts with label Learn Qbasic. Show all posts

Tuesday, October 25, 2011

Some commands used in QBASIC

FILES = Displays files in QBASIC mode.
              Syntax = FILES <file name>
              Eg: FILES(Enter)  or FILES "*.bas"(Enter)

NAME=Helps to rename file.
              Syntax =NAME<old filename> as <new filename>
              Eg: NAME "Ram.bas" as "Sita.bas" (Enter)
MKDIR=Creates a new directory.
             Syntax = MKDIR<Directory Name>
             Eg: MKDIR "My Files" (Enter)
CHDIR =Changes the directory.
             Syntax = CHDIR <Old directory name>
             Eg: CHDIR "My Files" (Enter)
RMDIR = Helps to remove unwanted directory.
             Syntax = RMDIR <Empty directory name>
             Eg: RMDIR "My Files"(Enter)
KILL    =Helps to delete the unwanted files.
             Syntax = Kill <existing filename>
             Eg: KILL "Sita.bas"(Enter)
Shell     =Takes to DOS mode
             Syntax: Shell
             Eg: SHELL (ENTER)

Monday, October 24, 2011

An easy guide of QBASIC

QBASIC(Quick Beginners All Purpose Symbolic Instruction Code) is a simple programming language for beginners. It is a language which helps people to learn about other programming languge. if you are good at Qbasic then you will have easy guide to other programming language. There are different modules in Qbasic. Like
(I)Sub Module
(II)Function Module
(More about Qbasic in other posts.)