answersLogoWhite

0

The GWBASIC comma operator is used to format the output of the PRINT command, placing the value to be printed in the next print zone rather than immediately after the previous value. Note that GWBASIC divides each line into zones of 14 spaces each.

The comma operator also has other purposes, such as when filling a string with the same character. For example:

10 X$ = STRING$(10,45)

20 PRINT X$"HELLO WORLD"X$

RUN

----------HELLO WORLD----------

The comma operator is also used to separate the dimensions of a multi-dimensional array, such as the following 2x3 array:

A(2,3)

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

How do you save a GWBASIC file to a text file?

Save the file with file name in double quotes comma A for ASCII. Example: SAVE "myfile.bas",A


Which operator cannot be overloaded c plus plus?

comma (,) is an example


What are the difference between gwbasic and qbasic?

Difference between QBASIC and GWBASIC?


You want to save Excel numeric data into gwbasic format?

Not sure what you are trying to do. GWBasic is a programming language; Excel is a spreadsheet. If you like, just copy data from Excel to your GWBasic editing program and reformat, as needed.


What is the purpose of a method statement and what is required of the operator?

The purpose of a method statement is that it provides us with the details of what the required operator is supposed to do.


What is the purpose of method statement and what is required of the operator?

The purpose of a method statement is that it provides us with the details of what the required operator is supposed to do.


What is full form of gwbasic?

George Washington Basic


How may the double variables temp weight and age be defined on one statement?

Use the comma operator: double temp {1.0}, weight {5.5}, age {21.0};


What are the duties of switchboard operator?

the purpose of a switch board is a connection for


How do you operate GWBasic computer programming language?

Check out the resources below.


What is the difference gwbasic commands and statements?

difference between command and statement


What is GW-BASIC?

Several theories are in circulation regarding the full form of GWBASIC. According to Greg Whitten (an early Microsoft employee who developed the standards in the company's BASIC compiler line) GWBASIC stands for "Gee-Whiz Beginner's All-purpose Symbolic Instruction Code". One more full form is in circulation and is "Gates-Whitten Beginners All Purpose Symbolic Instruction Code" (because Bill Gates and Greg Whitten were the primary developers of the language). according to other sources,GWBASIC stands for.... ''Graphics Workstation Beginers All popose Symbolic Instruction Code"