Scalar Variables and Operators
Scalar Operators and Functions
- To assign a scalar variable, use the = operator.
- Example: $Hello = "Hello World";
- Example: $Name = "Reepicheep";
- Example: $greeting = "Hello " . $Name;
- Example: $Result = 2 ** 5;
Back to Syllabus
Previous: Scalar Variables
Next: Binary Assignment Operators