Compile-time calculation
The compile-time evaluation is limited at a constant expression, which cannot refer at any other user-defined data, such as variables or functions.
define n = (10!)
say n
or:
define n = (func(n){ n > 0 ? __FUNC__(n-1)*n : 1 }(10))
say n
PreviousCompare sorting algorithms' performanceNextComposite numbers k with no single digit factors whose factors are all substrings of k
Last updated
Was this helpful?