Monday, November 08, 2010 at 12:07 AM.

system.verbs.traps.misc.dosc

on dosc (s) { <<executed the script specified by s
	<<we'll accept an alias to a script file, or the text of the script itself
	case typeOf (s) {
		aliasType {
			return (string (Frontier.finder2Click (string (s))))};
		stringType {
			return (string (evaluate (s)))};
		binaryType {
			if getBinaryType (s) == 'itxt' { <<International Text
				s = string.delete (s, 1, 4); <<strip off script & language codes
				return (string (evaluate (s)))}}};
	return (false)}



This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.