QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS.

Parenthesis are used to enclose SUB and FUNCTION parameters or to set the operation order in Mathematical Operations.


COLOR 14: PRINT TAB(30); “Hello World”

                              Hello World


Using too many brackets does not harm the code execution as long as they are paired up.

nmb$ = STR$(100)
nmb$ = LTRIM$(((RTRIM$(nmb$))))  'extra bracket pairs do not affect the code

PRINT nmb$ 

See Also