Update page 'P# 1.0 Draft Specification'

2018-07-17 09:39:55 +02:00
parent 4e14517dfb
commit 8e3fc2832e

@@ -232,6 +232,7 @@ Type casting in P# works much as it does in C/C++ - the name of the desired type
* (string) - casts to String * (string) - casts to String
* (unset) - casts to NULL * (unset) - casts to NULL
<% <%
string $str = "45"; string $str = "45";
int $integer = 7 + (int) $str; // contains value: 52 int $integer = 7 + (int) $str; // contains value: 52