In QBasic, the TAB function is used to position output at a specific column in the console, allowing for aligned text formatting, while the COMMA option in PRINT statements formats numbers with a comma separating thousands for better readability. For example, using TAB(10) would start printing text at the 10th column, whereas using , would display a number like 1000 as "1,000". Thus, TAB controls text positioning, while COMMA affects numeric output formatting.
Copyright © 2026 eLLeNow.com All Rights Reserved.