prog
var
name = ""
proc/exec()
savePage
name = "savePage"
loadPage
name = "loadPage"
system
var/list/runlist = list()
New()
set background = 1
for(var/prog/P in typesof(/prog/))
new P
runlist.Add(P)
world << P.name
The problem is that it acts as if typesof(/prog/) is an empty list, and adds absolutely nothing to runlist!
Why not do new P(src)?