{"id":2133,"date":"2006-05-05T09:13:33","date_gmt":"2006-05-05T16:13:33","guid":{"rendered":"http:\/\/hi-alex.com\/?p=2133"},"modified":"2006-05-05T09:13:33","modified_gmt":"2006-05-05T16:13:33","slug":"%e8%af%ad%e6%b3%95%e9%ab%98%e4%ba%ae%e6%80%8e%e4%b9%88%e5%81%9a%ef%bc%81%ef%bc%81%ef%bc%9f%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/www.hi-alex.com\/?p=2133","title":{"rendered":"\u8bed\u6cd5\u9ad8\u4eae\u600e\u4e48\u505a\uff01\uff01\uff1f\uff1f"},"content":{"rendered":"<p>\u8fd9\u4e2a\u4ee3\u7801\u662f\u7f51\u4e0a\u627e\u6765\u7684([url=http:\/\/ttyp.cnblogs.com\/]http:\/\/ttyp.cnblogs.com\/[\/url])\uff0c\u81ea\u5df1\u5199\u5b9e\u5728\u592a\u9ebb\u70e6\u4e86\u3002\u3002\u3002\u4e3b\u8981\u662f\u4e0a\u4e2a\u5b66\u671f\u90a3\u4e2a\u7f16\u8bd1\u5668\u5199\u50bb\u4e86:@<br \/>\n\u4e0d\u8fc7\u600e\u4e48\u6539\u4e5f\u6539\u4e0d\u597d\u3002\u3002\u3002>\u548c> <\u548c<\u603b\u662f\u5206\u4e0d\u6e05\u695a\u3002\u3002\u3002\n\u795e\u963f\nGimme a Sign\u5427\uff01\uff01\n[html]\n<html><head><title>HighLight<\/title><br \/>\n<script language=JavaScript><br \/>\nfunction CLASS_HIGHLIGHT(code,syntax)<br \/>\n{<br \/>\n    \/\/\u54c8\u5e0c\u8868\u7c7b<br \/>\n    function Hashtable()<br \/>\n    {<br \/>\n        this._hash        = new Object();<br \/>\n        this.add        = function(key,value){<br \/>\n                            if(typeof(key)!=\"undefined\"){<br \/>\n                                if(this.contains(key)==false){<br \/>\n                                    this._hash[key]=typeof(value)==\"undefined\"?null:value;<br \/>\n                                    return true;<br \/>\n                                } else {<br \/>\n                                    return false;<br \/>\n                                }<br \/>\n                            } else {<br \/>\n                                return false;<br \/>\n                            }<br \/>\n                        }<br \/>\n        this.remove        = function(key){delete this._hash[key];}<br \/>\n        this.count        = function(){var i=0;for(var k in this._hash){i++;} return i;}<br \/>\n        this.items        = function(key){return this._hash[key];}<br \/>\n        this.contains    = function(key){return typeof(this._hash[key])!=\"undefined\";}<br \/>\n        this.clear        = function(){for(var k in this._hash){delete this._hash[k];}}<br \/>\n    }<br \/>\n    \/\/\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u54c8\u5e0c\u8868<br \/>\n    this.str2hashtable = function(key,cs){<br \/>\n        var _key    = key.split(\/,\/g);<br \/>\n        var _hash    = new Hashtable();<br \/>\n        var _cs        = true;<br \/>\n        if(typeof(cs)==\"undefined\"){<br \/>\n            _cs = this._caseSensitive;<br \/>\n        } else {<br \/>\n            _cs = cs;<br \/>\n        }<br \/>\n        for(var i in _key){<br \/>\n            if(_cs){<br \/>\n                _hash.add(_key[i]);<br \/>\n            } else {<br \/>\n                _hash.add((_key[i]+\"\").toLowerCase());<br \/>\n            }<br \/>\n        }<br \/>\n        return _hash;<br \/>\n    }<br \/>\n    \/\/\u83b7\u5f97\u9700\u8981\u8f6c\u6362\u7684\u4ee3\u7801<br \/>\n    this._codetxt        = code;<br \/>\n    if(typeof(syntax)==\"undefined\"){<br \/>\n        syntax = \"\";<br \/>\n    }<br \/>\n    switch(syntax.toLowerCase())<br \/>\n    {<br \/>\n        case \"sql\":<br \/>\n            \/\/\u662f\u5426\u5927\u5c0f\u5199\u654f\u611f<br \/>\n            this._caseSensitive    = false;<br \/>\n            \/\/\u5f97\u5230\u5173\u952e\u5b57\u54c8\u5e0c\u8868<br \/>\n            this._keywords        = this.str2hashtable(\"COMMIT,DELETE,INSERT,LOCK,ROLLBACK,SELECT,TRANSACTION,READ,ONLY,WRITE,USE,ROLLBACK,SEGMENT,ROLE,EXCEPT,NONE,UPDATE,DUAL,WORK,COMMENT,FORCE,FROM,WHERE,INTO,VALUES,ROW,SHARE,MODE,EXCLUSIVE,UPDATE,ROW,NOWAIT,TO,SAVEPOINT,UNION,UNION,ALL,INTERSECT,MINUS,START,WITH,CONNECT,BY,GROUP,HAVING,ORDER,UPDATE,NOWAIT,IDENTIFIED,SET,DROP,PACKAGE,CREATE,REPLACE,PROCEDURE,FUNCTION,TABLE,RETURN,AS,BEGIN,DECLARE,END,IF,THEN,ELSIF,ELSE,WHILE,CURSOR,EXCEPTION,WHEN,OTHERS,NO_DATA_FOUND,TOO_MANY_ROWS,CURSOR_ALREADY_OPENED,FOR,LOOP,IN,OUT,TYPE,OF,INDEX,BINARY_INTEGER,RAISE,ROWTYPE,VARCHAR2,NUMBER,LONG,DATE,RAW,LONG RAW,CHAR,INTEGER,MLSLABEL,CURRENT,OF,DEFAULT,CURRVAL,NEXTVAL,LEVEL,ROWID,ROWNUM,DISTINCT,ALL,LIKE,IS,NOT,NULL,BETWEEN,ANY,AND,OR,EXISTS,ASC,DESC,ABS,CEIL,COS,COSH,EXP,FLOOR,LN,LOG,MOD,POWER,ROUND,SIGN,SIN,SINH,SQRT,TAN,TANH,TRUNC,CHR,CONCAT,INITCAP,LOWER,LPAD,LTRIM,NLS_INITCAP,NLS_LOWER,NLS_UPPER,REPLACE,RPAD,RTRIM,SOUNDEX,SUBSTR,SUBSTRB,TRANSLATE,UPPER,ASCII,INSTR,INSTRB,LENGTH,LENGTHB,NLSSORT,ADD_MONTHS,LAST_DAY,MONTHS_BETWEEN,NEW_TIME,NEXT_DAY,ROUND,SYSDATE,TRUNC,CHARTOROWID,CONVERT,HEXTORAW,RAWTOHEX,ROWIDTOCHAR,TO_CHAR,TO_DATE,TO_LABEL,TO_MULTI_BYTE,TO_NUMBER,TO_SINGLE_BYTE,DUMP,GREATEST,GREATEST_LB,LEAST,LEAST_UB,NVL,UID,USER,USERENV,VSIZE,AVG,COUNT,GLB,LUB,MAX,MIN,STDDEV,SUM,VARIANCE\");<br \/>\n            \/\/\u5f97\u5230\u5185\u5efa\u5bf9\u8c61\u54c8\u5e0c\u8868<br \/>\n            this._commonObjects = this.str2hashtable(\"\");<br \/>\n            \/\/\u6807\u8bb0<br \/>\n            this._tags            = this.str2hashtable(\"\",false);<br \/>\n            \/\/\u5f97\u5230\u5206\u5272\u5b57\u7b26<br \/>\n            this._wordDelimiters= \"\u3000 ,.?!;:\\\\\/<>(){}[]\\\"'\\r\\n\\t=+-|*%@#$^&\";<br \/>\n            \/\/\u5f15\u7528\u5b57\u7b26<br \/>\n            this._quotation        = this.str2hashtable(\"'\");<br \/>\n            \/\/\u884c\u6ce8\u91ca\u5b57\u7b26<br \/>\n            this._lineComment    = \"--\";<br \/>\n            \/\/\u8f6c\u4e49\u5b57\u7b26<br \/>\n            this._escape        = \"\";<br \/>\n            \/\/\u591a\u884c\u5f15\u7528\u5f00\u59cb<br \/>\n            this._commentOn        = \"\/**\/\/**\/\/**\/\/**\/\/**\/\/**\/\/**\/\/*\";<br \/>\n            \/\/\u591a\u884c\u5f15\u7528\u7ed3\u675f<br \/>\n            this._commentOff    = \"*\/\";<br \/>\n            \/\/\u5ffd\u7565\u8bcd<br \/>\n            this._ignore        = \"\";<br \/>\n            \/\/\u662f\u5426\u5904\u7406\u6807\u8bb0<br \/>\n            this._dealTag        = false;<br \/>\n            break;<br \/>\n        case \"c#\":<br \/>\n            \/\/\u662f\u5426\u5927\u5c0f\u5199\u654f\u611f<br \/>\n            this._caseSensitive    = true;<br \/>\n            \/\/\u5f97\u5230\u5173\u952e\u5b57\u54c8\u5e0c\u8868<br \/>\n            this._keywords        = this.str2hashtable(\"abstract,as,base,bool,break,byte,case,catch,char,checked,class,const,continue,decimal,default,delegate,do,double,else,enum,event,explicit,extern,false,finally,fixed,float,for,foreach,get,goto,if,implicit,in,int,interface,internal,is,lock,long,namespace,new,null,object,operator,out,override,params,private,protected,public,readonly,ref,return,sbyte,sealed,short,sizeof,stackalloc,static,set,string,struct,switch,this,throw,true,try,typeof,uint,ulong,unchecked,unsafe,ushort,using,value,virtual,void,volatile,while\");<br \/>\n            \/\/\u5f97\u5230\u5185\u5efa\u5bf9\u8c61\u54c8\u5e0c\u8868<br \/>\n            this._commonObjects = this.str2hashtable(\"String,Boolean,DateTime,Int32,Int64,Exception,DataTable,DataReader\");<br \/>\n            \/\/\u6807\u8bb0<br \/>\n            this._tags            = this.str2hashtable(\"\",false);<br \/>\n            \/\/\u5f97\u5230\u5206\u5272\u5b57\u7b26<br \/>\n            this._wordDelimiters= \"\u3000 ,.?!;:\\\\\/<>(){}[]\\\"'\\r\\n\\t=+-|*%@#$^&\";<br \/>\n            \/\/\u5f15\u7528\u5b57\u7b26<br \/>\n            this._quotation        = this.str2hashtable(\"\\\"\");<br \/>\n            \/\/\u884c\u6ce8\u91ca\u5b57\u7b26<br \/>\n            this._lineComment    = \"\/\/\";<br \/>\n            \/\/\u8f6c\u4e49\u5b57\u7b26<br \/>\n            this._escape        = \"\\\\\";<br \/>\n            \/\/\u591a\u884c\u5f15\u7528\u5f00\u59cb<br \/>\n            this._commentOn        = \"\/*\";<br \/>\n            \/\/\u591a\u884c\u5f15\u7528\u7ed3\u675f<br \/>\n            this._commentOff    = \"*\/\";<br \/>\n            \/\/\u5ffd\u7565\u8bcd<br \/>\n            this._ignore        = \"\";<br \/>\n            \/\/\u662f\u5426\u5904\u7406\u6807\u8bb0<br \/>\n            this._dealTag        = false;<br \/>\n            break;<br \/>\n        case \"java\":<br \/>\n            \/\/\u662f\u5426\u5927\u5c0f\u5199\u654f\u611f<br \/>\n            this._caseSensitive    = true;<br \/>\n            \/\/\u5f97\u5230\u5173\u952e\u5b57\u54c8\u5e0c\u8868<br \/>\n            this._keywords        = this.str2hashtable(\"abstract,boolean,break,byte,case,catch,char,class,const,continue,default,do,double,else,extends,final,finally,float,for,goto,if,implements,import,instanceof,int,interface,long,native,new,package,private,protected,public,return,short,static,strictfp,super,switch,synchronized,this,throw,throws,transient,try,void,volatile,while\");<br \/>\n            \/\/\u5f97\u5230\u5185\u5efa\u5bf9\u8c61\u54c8\u5e0c\u8868<br \/>\n            this._commonObjects = this.str2hashtable(\"String,Boolean,DateTime,Int32,Int64,Exception,DataTable,DataReader\");<br \/>\n            \/\/\u6807\u8bb0<br \/>\n            this._tags            = this.str2hashtable(\"\",false);<br \/>\n            \/\/\u5f97\u5230\u5206\u5272\u5b57\u7b26<br \/>\n            this._wordDelimiters= \"\u3000 ,.?!;:\\\\\/<>(){}[]\\\"'\\r\\n\\t=+-|*%@#$^&\";<br \/>\n            \/\/\u5f15\u7528\u5b57\u7b26<br \/>\n            this._quotation        = this.str2hashtable(\"\\\"\");<br \/>\n            \/\/\u884c\u6ce8\u91ca\u5b57\u7b26<br \/>\n            this._lineComment    = \"\/\/\";<br \/>\n            \/\/\u8f6c\u4e49\u5b57\u7b26<br \/>\n            this._escape        = \"\\\\\";<br \/>\n            \/\/\u591a\u884c\u5f15\u7528\u5f00\u59cb<br \/>\n            this._commentOn        = \"\/*\";<br \/>\n            \/\/\u591a\u884c\u5f15\u7528\u7ed3\u675f<br \/>\n            this._commentOff    = \"*\/\";<br \/>\n            \/\/\u5ffd\u7565\u8bcd<br \/>\n            this._ignore        = \"\";<br \/>\n            \/\/\u662f\u5426\u5904\u7406\u6807\u8bb0<br \/>\n            this._dealTag        = false;<br \/>\n            break;<br \/>\n        case \"vbs\":<br \/>\n        case \"vb\":<br \/>\n            \/\/\u662f\u5426\u5927\u5c0f\u5199\u654f\u611f<br \/>\n            this._caseSensitive    = false;<br \/>\n            \/\/\u5f97\u5230\u5173\u952e\u5b57\u54c8\u5e0c\u8868<br \/>\n            this._keywords        = this.str2hashtable(\"And,ByRef,ByVal,Call,Case,Class,Const,Dim,Do,Each,Else,ElseIf,Empty,End,Eqv,Erase,Error,Exit,Explicit,False,For,Function,Get,If,Imp,In,Is,Let,Loop,Mod,Next,Not,Nothing,Null,On,Option,Or,Private,Property,Public,Randomize,ReDim,Resume,Select,Set,Step,Sub,Then,To,True,Until,Wend,While,Xor,Anchor,Array,Asc,Atn,CBool,CByte,CCur,CDate,CDbl,Chr,CInt,CLng,Cos,CreateObject,CSng,CStr,Date,DateAdd,DateDiff,DatePart,DateSerial,DateValue,Day,Dictionary,Document,Element,Err,Exp,FileSystemObject,Filter,Fix,Int,Form,FormatCurrency,FormatDateTime,FormatNumber,FormatPercent,GetObject,Hex,Hour,InputBox,InStr,InstrRev,IsArray,IsDate,IsEmpty,IsNull,IsNumeric,IsObject,Join,LBound,LCase,Left,Len,Link,LoadPicture,Location,Log,LTrim,RTrim,Trim,Mid,Minute,Month,MonthName,MsgBox,Navigator,Now,Oct,Replace,Right,Rnd,Round,ScriptEngine,ScriptEngineBuildVersion,ScriptEngineMajorVersion,ScriptEngineMinorVersion,Second,Sgn,Sin,Space,Split,Sqr,StrComp,String,StrReverse,Tan,Time,TextStream,TimeSerial,TimeValue,TypeName,UBound,UCase,VarType,Weekday,WeekDayName,Year\");<br \/>\n            \/\/\u5f97\u5230\u5185\u5efa\u5bf9\u8c61\u54c8\u5e0c\u8868<br \/>\n            this._commonObjects = this.str2hashtable(\"String,Number,Boolean,Date,Integert,Long,Double,Single\");<br \/>\n            \/\/\u6807\u8bb0<br \/>\n            this._tags            = this.str2hashtable(\"\",false);<br \/>\n            \/\/\u5f97\u5230\u5206\u5272\u5b57\u7b26<br \/>\n            this._wordDelimiters= \"\u3000 ,.?!;:\\\\\/<>(){}[]\\\"'\\r\\n\\t=+-|*%@#$^&\";<br \/>\n            \/\/\u5f15\u7528\u5b57\u7b26<br \/>\n            this._quotation        = this.str2hashtable(\"\\\"\");<br \/>\n            \/\/\u884c\u6ce8\u91ca\u5b57\u7b26<br \/>\n            this._lineComment    = \"'\";<br \/>\n            \/\/\u8f6c\u4e49\u5b57\u7b26<br \/>\n            this._escape        = \"\";<br \/>\n            \/\/\u591a\u884c\u5f15\u7528\u5f00\u59cb<br \/>\n            this._commentOn        = \"\";<br \/>\n            \/\/\u591a\u884c\u5f15\u7528\u7ed3\u675f<br \/>\n            this._commentOff    = \"\";<br \/>\n            \/\/\u5ffd\u7565\u8bcd<br \/>\n            this._ignore        = \"<!--\";\n            \/\/\u662f\u5426\u5904\u7406\u6807\u8bb0\n            this._dealTag        = false;\n            break;\n        case \"js\":\n            \/\/\u662f\u5426\u5927\u5c0f\u5199\u654f\u611f\n            this._caseSensitive    = true;\n            \/\/\u5f97\u5230\u5173\u952e\u5b57\u54c8\u5e0c\u8868\n            this._keywords        = this.str2hashtable(\"function,void,this,boolean,while,if,return,new,true,false,try,catch,throw,null,else,int,long,do,var\");\n            \/\/\u5f97\u5230\u5185\u5efa\u5bf9\u8c61\u54c8\u5e0c\u8868\n            this._commonObjects = this.str2hashtable(\"String,Number,Boolean,RegExp,Error,Math,Date\");\n            \/\/\u6807\u8bb0\n            this._tags            = this.str2hashtable(\"\",false);\n            \/\/\u5f97\u5230\u5206\u5272\u5b57\u7b26\n            this._wordDelimiters= \"\u3000 ,.?!;:\\\\\/<>(){}[]\\\"'\\r\\n\\t=+-|*%@#$^&\";\n            \/\/\u5f15\u7528\u5b57\u7b26\n            this._quotation        = this.str2hashtable(\"\\\",'\");\n            \/\/\u884c\u6ce8\u91ca\u5b57\u7b26\n            this._lineComment    = \"\/\/\";\n            \/\/\u8f6c\u4e49\u5b57\u7b26\n            this._escape        = \"\\\\\";\n \n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u4e2a\u4ee3\u7801\u662f\u7f51\u4e0a\u627e\u6765\u7684([url=http:\/\/ttyp.cnblogs.com\/]http:\/\/ttyp.cnblogs.com\/[\/url])\uff0c\u81ea\u5df1\u5199\u5b9e\u5728\u592a\u9ebb\u70e6\u4e86\u3002\u3002\u3002\u4e3b\u8981\u662f\u4e0a\u4e2a\u5b66\u671f\u90a3\u4e2a\u7f16\u8bd1\u5668\u5199\u50bb\u4e86:@ \u4e0d\u8fc7\u600e\u4e48\u6539\u4e5f\u6539\u4e0d\u597d\u3002\u3002\u3002>\u548c><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-2133","post","type-post","status-publish","format-standard","hentry","category-javascript"],"_links":{"self":[{"href":"http:\/\/www.hi-alex.com\/index.php?rest_route=\/wp\/v2\/posts\/2133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.hi-alex.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.hi-alex.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.hi-alex.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.hi-alex.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2133"}],"version-history":[{"count":0,"href":"http:\/\/www.hi-alex.com\/index.php?rest_route=\/wp\/v2\/posts\/2133\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.hi-alex.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hi-alex.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2133"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hi-alex.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}