I've been trying to turn on the listing of generated code on a simple factorial program written in ALGOL. From what I've read, I need a $SET LIST DEBUGN option card before the program text and after the ?DATA CARD card (see below.) I don't see any generated code.
?COMPILE QUIRK/FACT WITH ALGOL
?DATA CARD
$SET LIST DEBUGN
BEGIN
INTEGER PROCEDURE FACTORIAL(N); INTEGER N;
BEGIN
INTEGER I, FACT;
FACT := 1;
FOR I := 2 STEP 1 UNTIL N DO
FACT := FACT | I; COMMENT | IS MULTIPLY ;
FACTORIAL := FACT
END;
INTEGER I;
FILE PRINT 4(2,15);
FORMAT FMT(I2,X3,I10);
FOR I:=1 STEP 1 UNTIL 10 DO WRITE(PRINT, FMT, I, FACTORIAL(I));
END.
?END