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 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 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 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


Is there a comma in the base five number system?

There can be. Commas are used to break up long strings of numbers and a comma or space can be used for this purpose in any base. A word of warning, though. In some European countries, the decimal "point" is a comma and the thousand separator is a point. The role of the comma and the point are swapped around.