Anonymous user
Yahoo! search interface: Difference between revisions
m
→{{header|Tcl}}: remove ugliness in first example
(→{{header|Tcl}}: Corrections and improvements) |
m (→{{header|Tcl}}: remove ugliness in first example) |
||
Line 232:
lappend results [fix $title] [fix $content] [fix $url]
}
# set up the call for the next page
return $results
}▼
▲ return [YahooSearch $term $::page]
}
# Usage: get the first two pages of results
foreach {title content url} [YahooSearch "test"] {
puts $title
▲}
}</lang>
{{works with|Tcl|8.6}}
|