RosettaCodeData/Task/Compile-time-calculation/PL-I/compile-time-calculation-2.pli
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

8 lines
224 B
Text

/* Factorials using the pre-processor. */
test: procedure options (main);
declare (x, y) fixed decimal;
x = 24;
put ('factorial 4 is ', x);
y = 720;
put skip list ('factorial 6 is ', y);
end test;