[/return] notfound - T to create empty variables when no record found, F to report error Output: Returns butTrue if successful Global variables set butError - error message on failure or on multiple found records Calling conventions: [if [butLoadRecord db=path/to/my.db¶m=[url]eqskudatarq=ABC[/url]]][then] record loaded [/then][else] Failed: [butError] [/else][/if] == butLoadRecord == ------------------------------------- == butFedExLink == Link to FedEx tracking page for the given tracking numаcр ** Parameters: max (required) the max items per page skip (optional) list of any page parameters to be skipped, in addition to the standard "template" and "startat" parameters add (optional) parameters to add to the links [text]tSkipParams=_startat_template_[listwords words=[:local:skip]][word]_[/listwords][/text] [text]tAddParams=[showif [url]&[params_string][/url]^[url]&add=[/url]]&[:local:add][/showif][/text] [text]tBaseURL=[middle startafter=.com][thisfile][/middle][/text] [!][listwords words=[url][thisfile][/url]&delimiters=/][text]tBaseURL=[word][/text][/listwords][/!] [text]tBaseURL=[tBaseURL]?[getchars start=2][formvariables][hideif [tSkipParams]^_[name]_]&[name]=[url][value][/url][/hideif][/formvariables][tAddParams][/getchars][/text] [hideif [butIsDefined startat]][text]startat=1[/text][/hideif] [return]
[/return] [if [startat]>1][then] [return]< PREVIOUS [/return] [/then][/if] [math]mPage=0[/math] [loop start=1&end=[numfound]&advance=[:local:max]] [math]mPage=mPage+1[/math] [if [index]=[startat]][then] [return][[mPage]] [/return] [/then][else] [return][mPage] [/return] [/else][/if] [text]tLastStart=[index][/text] [/loop] [if [math][startat]+[:local:max][/math]>[numfound]][else] [return]NEXT >[/return] [/else][/if] [return]
[/return] Url]][exists][/fileinfo]"!"T"][then] [text]tUrl=[/text] [/then][/if] [/then][/if] [/then][/if] [/then][/if] [/then][else] [text]tUrl=[/text] [/else][/if] [/then][/if] [/then][/if] [/then][/if] [/then][/if] [return][tUrl][/return] Main row end --> [/return] - Quotes become quotequote Input: direct param - Value to encode Output: CSV-encoded value Calling conventions: ----------------------------------Аl А8tmeCheckаl@р3╩ЖcoЖeoрl@рЦjt╓:t╪: