1
2
3
4
5
6
7
8
9
10
11
12
13
14
| # Variables Feature Test
| int $i = 42;
| double $d = 3.14;
| float $f = 2.718;
| boolean $b1 = true;
| boolean $b2 = false;
| string $s = "Hello VoidScript";
|
| print("$i = ", $i, "\n");
| print("$d = ", $d, "\n");
| print("$f = ", $f, "\n");
| print("$b1 = ", $b1, "\n");
| print("$b2 = ", $b2, "\n");
| print("$s = ", $s, "\n");
|
|