PHP <-> Object Pascal | Assignment
PHP Used keywords: =
=
Description
var =expression;
Input
- var - value receiver
- expression - Expressions
Output
- Result - Any
Examples
PHP
Assignment the possible of use:$x = 1.234; // x = 1.234
$y = $x * 3.14; // y = 3.87476
if ($y<5)
$y = $y/ 3.14; // y = 1.234
.
Object Pascal Used keywords: :=
:=
Description
var :=expression;
Input
- var - value receiver
- expression - Expressions
Examples
Object Pascal
Assignment the possible of use:x := 1.234; // x = 1.234
y := x * 3.14; // y = 3.87476
if y<5 then
y := y/ 3.14; // y = 1.234
Assignment in another programming language:
Differences to:
Share