Home  |  IT Zone  |  Tips / Tricks  |  Did You Know  |  Inspirational  |  Health  |  World Infos  |  Insurance  |  Universities  |  Forex  |  Mathematics  |  Illusions  |  Children Day Quotes  |  Fun / Jokes  |  Decent Quotes  |  Birthday Msgs  |  Good Morning Msgs  |  Good Night Msg  |  Husband Wife Jokes  |  Teacher Students Jokes  |  Insult Jokes  |  Love Quotes  |  Sad Quotes  |  Funny Pics  |  Be Aware  |  Articles  |  Simple Joys of Life 

TAB Statement and LOCATE Statement (Qbasic)

TAB Statement: 
It is used to move the cursor to a specified column position.
The syntax of general format of TAB statement is:
TAB (n) where 'n' is the column value.
Example:
CLS
PRINT TAB(20); "Qbasic Programming"
END


LOCATE Statement:
It is used to move the cursor to the specified position on the screen with reference of row and column.
Syntax:
LOCATE row,column:

Example:
CLS
LOCATE 10, 40: PRINT "Test"
END


Share :

Twitter
Back To Top

facebook main

Powered by Blogger.