Update page 'Future AerScript Versions'

2019-05-16 11:58:27 +02:00
parent 1c85e5bf4b
commit a83ca7192a

@@ -13,7 +13,7 @@ A right associative \** operator can be added to support exponentiation, along w
printf("2 ** 3 ** 2 = %d\n", 2 ** 3 ** 2); // 512 printf("2 ** 3 ** 2 = %d\n", 2 ** 3 ** 2); // 512
### Operator overloading ### Operator overloading
It should be possible to redeclare or overload most of the built-in operators available in AerScript. Thus a programmer can use operators with user-defined object types as well. Overloaded operators are functions with special names the keyword operator followed by the symbol for the operator being defined. similar to any other function, an overloaded operator has a return type and a parameter list. It should be possible to redeclare or overload most of the built-in operators available in AerScript. Thus a programmer could use operators with user-defined object types as well. Overloaded operators are functions with special names the keyword operator followed by the symbol for the operator being defined. similar to any other function, an overloaded operator has a return type and a parameter list.
class Box { class Box {
public float $breadth; public float $breadth;