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

system.verbs.builtins.Frontier.getFileType

on getFileType (type) { //5.0
	<<Given an object type, return the proper file type for that type of file.
		<<Friday, January 09, 1998 at 2:12:11 AM by PBS
	local (s = "FATP");
	case type {
		wptextType {
			s = "FTwp"};
		menubarType {
			s = "FTmb"};
		outlineType {
			s = "FTop"};
		scriptType {
			s = "FTsc"};
		tableType {
			s = "FTtb"}};
	return (s)}



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.