In GW-BASIC, the TAB statement is used to control the horizontal positioning of text output in the console. By specifying a column number as an argument, it allows the programmer to move the cursor to that specific column before printing text. This is useful for aligning output in a structured format, such as creating tables or neatly displaying data. For example, PRINT TAB(10); "Hello"
would print "Hello" starting at the 10th column of the current line.
write the following on gw basic in capital 10 rem "to print a pattern" 20 cls 30 print tab(30) * 40 print tab (29)*** 50 print tab (28)***** 60 end 70 run and there will be a pattern
In GW-BASIC, the DIM statement is used to declare arrays and allocate storage space for them. For example, DIM A(10) creates an array named A with 11 elements (0 to 10). This allows for efficient management of multiple data items under a single variable name, enabling easier manipulation of data within programs. Using DIM is crucial for organizing data structures in GW-BASIC.
http://software.informer.com/getfree-gw--basic-screen-editor/
Microsoft GW-BASIC was developed from 1983 through 1988.
In GW-BASIC, the command used to continue a program whose execution was temporarily terminated is CONT. This command resumes the execution from the point where the program was interrupted, allowing the user to continue running the program without restarting it from the beginning. It's typically used after a STOP statement or when execution is paused.
While--wend statement is used to execute a loop until a given condition is true.if the condition is false the loop ends and the program continous to the line following eend.
its an interpreter
GW-BASIC (short for Gee-Whiz Beginner's All-purpose Symbolic Instruction Code) is a version of the BASIC programming language released by Microsoft in 1983 for the DOS operating system. GW-BASIC evolved from Microsoft BASIC-80, also known as MBASIC. The last version was released in 1988. GW-BASIC was superseded by QBASIC in 1991. Note: please ask ONE question at a time.
http://software.informer.com/getfree-gw--basic-screen-editor/
GW-BASIC was created in 1983 by Microsoft as a simple programming language for the early IBM PC computers. It was designed to be easy to use for beginners and allow for basic programming tasks to be performed.
1983
1983