|
Assignment |
Top Previous Next |
|
A variable is assigned a new value with an Assignment statement.
Syntax
variable = expression
variable An expression to evaluated and assigned to variable
expression An expression to evaluated and assigned to variable
Variables should be declared before being assigned to in an assignment statement.
VARIABLES: variableOne TYPE: Floating, greeting TYPE: String
variableOne = 50.60 greeting = "Have a nice day."
PRINT greeting |