pike.git
/
CHANGES
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/CHANGES:85:
including integers prefixed with 0x and 0b, and floating point numbers in scientific notation. o Returning void It is now possible to return void responses from void functions. void a() { return; } void b() { return a(); }
+
o Abbreviated function declarations
-
+
Functions containing only a single return statement can now be
+
defined with an abbreviated syntax:
+
+
int add(int a, int b) = a + b;
+
+
Bug fixes --------- o Operator functions Calling operator functions with more than two arguments will now work correctly for objects, where previously only the first two objects where added. When adding arrays, multisets and mappings, UNDEFINED will now