{"id":710,"date":"2007-11-16T05:11:50","date_gmt":"2007-11-15T21:11:50","guid":{"rendered":"http:\/\/foxpro.ntsl119.com\/scr\/archives\/710"},"modified":"2007-11-16T05:34:15","modified_gmt":"2007-11-15T21:34:15","slug":"geshitest","status":"publish","type":"post","link":"https:\/\/foxpro.ntsl119.com\/scr\/archives\/710","title":{"rendered":"GeSHI.TEST"},"content":{"rendered":"<p>OK&#8230; the rain stopped.  <\/p>\n<p>Now let&#8217;s do some GeSHi TESTING.<\/p>\n<pre lang=\"visualfoxpro\">procedure UTILS_GETDatabaseIndexes()\r\n\r\n    set procedure to UTILITIES\r\n        \r\n    select &cFilerDatabase\r\n    nTagCount = tagcount()\r\n    if nTagCount > 0                \r\n        dimension aDesc(nTagCount)\r\n        for nEXB = 1 to nTagCount    \r\n            cSRK = 'cIndex' + NUMTOSTR(nEXB, 2)\r\n            aDesc(nEXB) = &cSRK\r\n        endfor\r\n            \r\n        dimension aIndex(nTagCount)                    \r\n        for nCount = 1 to tagcount()\r\n           if !empty(tag(nCount))\r\n               cIndexDesc = tag(nCount) + ' (' + ; \r\n               aDesc(nCount) + ')'\r\n               store cIndexDesc to aIndex(nCount)\r\n           else           \r\n               exit              \r\n           endif           \r\n        endfor                \r\n            \r\n        .cmbIndex.rowsourcetype = 5\r\n        .cmbIndex.rowsource = 'aIndex'\r\n        .cmbIndex.value = aIndex(nIndexSortIDNO)\r\n    endif\r\n\r\nEndProc<\/pre>\n<p>Related links:<br \/>\n<strong>\u00bb<\/strong> <a href=\"http:\/\/qbnz.com\/highlighter\/demo.php\" target=\"_blank\">GeSHi \/ Generic Syntax Highlighter<\/a><br \/>\n<strong>\u00bb<\/strong> <a href=\"http:\/\/wordpress.org\/extend\/plugins\/code-highlighter\/\" target=\"_blank\">Wongoo Lee&#8217;s WordPress CodeHighlighter Plug-in<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>OK&#8230; the rain stopped. Now let&#8217;s do some GeSHi TESTING. procedure UTILS_GETDatabaseIndexes() set procedure to UTILITIES select &#038;cFilerDatabase nTagCount = tagcount() if nTagCount > 0 dimension aDesc(nTagCount) for nEXB = 1 to nTagCount cSRK = &#8216;cIndex&#8217; + NUMTOSTR(nEXB, 2) aDesc(nEXB) = &#038;cSRK endfor dimension aIndex(nTagCount) for nCount = 1 to tagcount() if !empty(tag(nCount)) cIndexDesc = [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,3],"tags":[],"class_list":["post-710","post","type-post","status-publish","format-standard","hentry","category-thissitematters","category-visual-foxpro"],"_links":{"self":[{"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/posts\/710","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/comments?post=710"}],"version-history":[{"count":0,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/posts\/710\/revisions"}],"wp:attachment":[{"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/media?parent=710"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/categories?post=710"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/foxpro.ntsl119.com\/scr\/wp-json\/wp\/v2\/tags?post=710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}