From QB64 Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

A expression is a calculation used as a argument or assignment and can be a numerical or string expression.

Expressions may include logical operators as well as mathematical operators and functions and are used in various forms in a program.

Examples of different kind of expressions:

Numerical expressions:

(1000 is the expression)

PRINT 1000


(1 + 1 is the expression)

PRINT 1 + 1


String expressions:

("hello!" is the expression)

PRINT "hello!"


("Hello" + " " + "there!" is the expression)

PRINT "Hello" + " " + "there!"

Hello there!

See also

Keyword Reference - Alphabetical
Keyword Reference - By usage
Main WIKI Page