Compile-time calculation: Difference between revisions
Content deleted Content added
Added XLISP |
m added whitespace before the TOC (table of contents), added a ;Task: (bold) header, added other whitespace to the task's preamble. |
||
Line 1:
{{task}}
Some programming languages allow calculation of values at compile time.
;Task:
Calculate 10! at compile time.
Print the result when the program is run.
Discuss what limitations apply to compile-time calculations in your language.
<br><br>
=={{header|Ada}}==
Here's a hardcoded version:
|