Binary Operator "()"

QuantScript's binary

()
operator implements function calls.

Examples:

1 function f(x = 1, y = 2, z = 3): x + y + z
2
3 f() # 6
4 f(10) # 15
5 f(z: 10) # 13
6 f(10, z: 10) # 22
7 f(4, 5, 6) # 15
8 f(z: 4, x: 5, y: 6) # 15

Read more about functions here.

Table of Operands

Left OperandOperatorRight OperandResult
Function()AnyAny
Non-Function()AnyError