forked from Galleondragon/qb64
-
Notifications
You must be signed in to change notification settings - Fork 24
Expression
Cory Smith edited this page Jun 9, 2022
·
3 revisions
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:
(1000 is the expression)
PRINT 1000
1000
(1 + 1 is the expression)
PRINT 1 + 1
2
("hello!" is the expression)
PRINT "hello!"
hello!
("Hello" + " " + "there!" is the expression)
PRINT "Hello" + " " + "there!"
Hello there!