Variable use: $

Using variables, you can access the data stored in a variable, can be used to store or retrieve the value.

variable use

Description

name
Data:
  • name -

Output

Compatible programing languages:
Basic | Visual Basic .NET | FreeBASIC | C | Visual C++ .NET | C++ | C# | Java | JavaScript | Free Pascal | Pascal | Object Pascal

Examples

Example

Variable use the possible of use:
x = 64 / 8;   // x=8
y = x / 0.5;   // y=16
z = (x * 2 / y +5);// z=1.1

Example

a && b
a || true
!a

Example

Other pieces of example codes:
(b || c) || a
10 >a
a2 = !true
i>0
i + 5
y = 100- x

$

Description

$name
Data:
  • name -

Output

Compatible programing languages:
PHP

Examples

PHP

Variable use the possible of use:
$x = 64 / 8;   // x=8
$y = $x / 0.5;   // y=16
$z = ($x * 2 / $y +5);// z=1.1

PHP

$a && $b
$a || true
!$a

PHP

Other pieces of example codes:
$x = 16 << 2
--$y;
$a1 = false || false
$y<5
(double)$i

You can find it in the following collections: value receiver | value sender
Languages: en hu cz sk