Compile-time calculation: Difference between revisions

Content added Content deleted
(Compile-time calculation in Run BASIC)
(Compile-time calculation in Yabasic)
Line 1,747: Line 1,747:
RET
RET
</pre>
</pre>

=={{header|Yabasic}}==
<syntaxhighlight lang="basic">factorial = 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10
print "10! = ", factorial // 3628800</syntaxhighlight>


=={{header|Z80 Assembly}}==
=={{header|Z80 Assembly}}==