html "
| Num | Task | Examples |
"
a$ = httpGet$("http://rosettacode.org/wiki/Category:Programming_Tasks")
a$ = word$(a$,1,"
")
i = instr(a$," 0
count = count + 1
i = instr(a$,"",i+5)
a1$ = mid$(a$,i+15,j-i)
taskId$ = word$(a1$,1,"""")
task$ = word$(a1$,3,"""")
url$ = "http://rosettacode.org/wiki/";taskId$
a2$ = httpGet$(url$)
ii = instr(a2$,"")
jj = 0
while ii > 0
jj = ii
ii = instr(a2$,"",ii+10)
wend
if jj = 0 then
examp = 0
else
kk = instr(a2$,"<",jj+24)
examp = int(val(mid$(a2$,jj+24,kk-jj-24)))
end if
html "| ";count;" | ";task$;" | ";examp;" |
"
totExamp = totExamp + examp
wend
html "| ** | ** Total ** | ";totExamp;" |
"
end