~~Title: Evaluator Functions~~
The [[evaluator]] is a simple parsing engine that understands basic mathematical operations, boolean logic and provides a number of functions to perform number, string and date manipulations and to query information. Because it is much simpler than a full scripting language like JScript, it can be used in a number of places in Directory Opus to provide customisability where full scripting would be too slow.
This reference section describes the functions available to evaluator code wherever it's used. For information on the places you can use the evaluator, and details about specific variables available in those places, please see the main [[:evaluator]] section.
@@[[:reference:evaluator:abortfunc|AbortFunc]]
@@[[:reference:evaluator:abs|Abs]]
@@[[:reference:evaluator:age|Age]]
@@[[:reference:evaluator:arg|Arg]]
@@[[:reference:evaluator:as|As]]
@@[[:reference:evaluator:asc|Asc]]
@@[[:reference:evaluator:atan|Atan]]
@@[[:reference:evaluator:capitalize|Capitalize]]
@@[[:reference:evaluator:cbrt|Cbrt]]
@@[[:reference:evaluator:ceil|Ceil]]
@@[[:reference:evaluator:chr|Chr]]
@@[[:reference:evaluator:cos|Cos]]
@@[[:reference:evaluator:clip|Clip]]
@@[[:reference:evaluator:clipformat|ClipFormat]]
@@[[:reference:evaluator:count|Count]]
@@[[:reference:evaluator:datediff|DateDiff]]
@@[[:reference:evaluator:datepart|DatePart]]
@@[[:reference:evaluator:degtorad|DegToRad]]
@@[[:reference:evaluator:displayname|DisplayName]]
@@[[:reference:evaluator:elapsed|Elapsed]]
@@[[:reference:evaluator:exists|Exists]]
@@[[:reference:evaluator:filecount|FileCount]]
@@[[:reference:evaluator:fileext|FileExt]]
@@[[:reference:evaluator:filepart|FilePart]]
@@[[:reference:evaluator:findwindow|FindWindow]]
@@[[:reference:evaluator:floor|Floor]]
@@[[:reference:evaluator:format|Format]]
@@[[:reference:evaluator:hypot|Hypot]]
@@[[:reference:evaluator:instr|Instr]]
@@[[:reference:evaluator:isalpha|IsAlpha]]
@@[[:reference:evaluator:ischecked|IsChecked]]
@@[[:reference:evaluator:isdigit|IsDigit]]
@@[[:reference:evaluator:isdir|IsDir]]
@@[[:reference:evaluator:isenabled|IsEnabled]]
@@[[:reference:evaluator:isfile|IsFile]]
@@[[:reference:evaluator:islower|IsLower]]
@@[[:reference:evaluator:isparent|IsParent]]
@@[[:reference:evaluator:ispath|IsPath]]
@@[[:reference:evaluator:ispunct|IsPunct]]
@@[[:reference:evaluator:isselected|IsSelected]]
@@[[:reference:evaluator:isset|IsSet]]
@@[[:reference:evaluator:isspace|IsSpace]]
@@[[:reference:evaluator:isupper|IsUpper]]
@@[[:reference:evaluator:keydown|KeyDown]]
@@[[:reference:evaluator:languagestr|LanguageStr]]
@@[[:reference:evaluator:lcase|LCase]]
@@[[:reference:evaluator:left|Left]]
@@[[:reference:evaluator:len|Len]]
@@[[:reference:evaluator:makelegal|MakeLegal]]
@@[[:reference:evaluator:match|Match]]
@@[[:reference:evaluator:max|Max]]
@@[[:reference:evaluator:mid|Mid]]
@@[[:reference:evaluator:min|Min]]
@@[[:reference:evaluator:now|Now]]
@@[[:reference:evaluator:output|Output]]
@@[[:reference:evaluator:parent|Parent]]
@@[[:reference:evaluator:pathtype|PathType]]
@@[[:reference:evaluator:pow|Pow]]
@@[[:reference:evaluator:radtodeg|RadToDeg]]
@@[[:reference:evaluator:regex|RegEx]]
@@[[:reference:evaluator:regexs|RegExS]]
@@[[:reference:evaluator:replace|Replace]]
@@[[:reference:evaluator:resolve|Resolve]]
@@[[:reference:evaluator:reverse|Reverse]]
@@[[:reference:evaluator:right|Right]]
@@[[:reference:evaluator:round|Round]]
@@[[:reference:evaluator:rnd|Rnd]]
@@[[:reference:evaluator:root|Root]]
@@[[:reference:evaluator:running|Running]]
@@[[:reference:evaluator:select|Select]]
@@[[:reference:evaluator:sin|Sin]]
@@[[:reference:evaluator:space|Space]]
@@[[:reference:evaluator:stem|Stem]]
@@[[:reference:evaluator:strcmp|StrCmp]]
@@[[:reference:evaluator:string|String]]
@@[[:reference:evaluator:sqrt|Sqrt]]
@@[[:reference:evaluator:swap|Swap]]
@@[[:reference:evaluator:sysinfo|SysInfo]]
@@[[:reference:evaluator:tan|Tan]]
@@[[:reference:evaluator:trim|Trim]]
@@[[:reference:evaluator:truncate|Truncate]]
@@[[:reference:evaluator:typeof|TypeOf]]
@@[[:reference:evaluator:ucase|UCase]]
@@[[:reference:evaluator:urlencode|UrlEncode]]
@@[[:reference:evaluator:val|Val]]