☰
Debian Codegraph
@
9.5.25a-4
/
/
ipl
/
packs
/
euler
/
t5.eul
☽
☼
ipl/packs/euler/t5.eul
code
plain
raw
public-domain
Icon Project; Department of Computer Science; The University of Arizona
debian/copyright
1
begin new p; new a; new i;
2
p <- 'formal x; formal k;
3
begin k <- k+1; x<-k end';
4
i <- 1;
5
a <- list 3;
6
p(@a[i],@i); p('@a[i]',@i);
7
out a[1]; out if isu a[2] then "undef" else "~undef"; out a[3]
8
(* should write: 2 undef 3 *)
9
end