These action codes operate like functions. They take one or more inputs and returns an output. Normally the latter is passed to an attribute but in a few cases, e.g. action() or runCommand(), the function may simply be called.
Such operators are:
- !$AttributeName (short form test for no value)
- $AttributeName (short form test for value)
- abs(argument)
- action(code)
- any(group,value)
- atan(argument)
- attributeEncode(data)
- avg_if(group,condition,value)
- avg(group,value)
- between(value,min,max)
- capitalize(data)
- ceil(argument)
- collect_if(group,condition,attribute)
- collect(group,attribute)
- Color.format
- compositeFor("item")
- compositeWithName("compositeName")
- contains(item)
- cos(argument)
- count(list)
- Date.format("formatString")
- date(string)
- date(year,month,day,[hour,min])
- day(theDate[,value])
- days(date1,date2)
- degrees(argument)
- descendedFrom(item)
- distance(note1,note2)
- do(macro[,args])
- escapeHTML(data)
- eval([item],expression)
- every(group,value)
- exp(N)
- exportedString("item",template)
- find(query)
- first(item[,N])
- firstWord("data")
- floor(argument)
- format(data, "formatString")
- hasLocalValue("attributeName"[,target])
- hour(theDate[,value])
- hours(date1,date2)
- idEncode(data)
- if(condition){action}[else{action}}
- indented(N[,"item"])
- inheritsFrom(["item",]"prototype"])
- inside("item")
- Interval.format("formatString")
- interval(date1,date2)
- isbn10(data)
- isbn13(data)
- jsonEncode(data)
- last("item"[,N])
- lastWord("data")
- linkedFrom("[item|group]"[,linkType])
- linkedTo("[item|group]"[,linkType])
- linkFrom("[item|group]"[,linkType])
- linkFromOriginal("[item|group]"[,linkType])
- links[(item|group)].kind.[linkType].attribute
- linkTo("[item|group]"[,linkType])
- linkToOriginal("[item|group]"[,linkType])
- List.isort([$Attribute])
- List.nsort([$Attribute])
- List.sort([$Attribute])
- list(expression_list)
- List/Set.at(N)
- List/Set.contains("pattern")
- List/Set.each()
- List/Set.format("formatString")
- List/Set.icontains("pattern")
- List/Set.intersect(set)
- List/Set.replace("match","replacement")
- List/Set.reverse
- List/Set.tr(dataIn,dataOut)
- locale(code)
- log(argument)
- lowercase(data)
- max(list)
- min(list)
- minute(theDate[,value])
- minutes(date1,date2)
- mod(argumentA,argumentB)
- month(theDate[,value])
- months(date1,date2)
- notify(headline[, details, deliveryTime ])
- Number.format(decimalsN[,widthN][,padStr])
- Number.precision(N)
- play("sound-file")
- pow(n,k)
- radians(argument)
- rand()
- rgb(red,green,blue)
- round(argument)
- runCommand(commandLine[,inputs,directory])
- seconds(date1,date2)
- similarTo("item",N)
- sin(argument)
- sqrt(argument)
- String.beginsWith("string")
- String.bold
- String.capitalize()
- String.contains("pattern")
- String.countOccurrencesOf("string")
- String.endsWith("string")
- String.find("string")
- String.fontSize(N)
- String.icontains("pattern")
- String.italic
- String.json()
- String.lowercase()
- String.paragraph(N)
- String.paragraphs(N)
- String.replace("pattern","replacement")
- String.reverse()
- String.speak(["voice"])
- String.split("pattern")
- String.substr(startN[,lengthN])
- String.toNumber
- String.tr("dataIn","dataOut")
- String.uppercase()
- String.words(N)
- substr(data,start[,length])
- sum_if(group,condition,value)
- sum(group, value)
- tan(argument)
- time(theDate,hours,minutes)
- time(theDate)
- twitter(username,status)
- unlinkFrom("[item|group]"[,linkType])
- unlinkFromOriginal("[item|group]"[,linkType])
- unlinkTo("[item|group]"[,linkType])
- unlinkToOriginal("[item|group]"[,linkType])
- uppercase(data)
- urlEncode(data)
- values([group,]attribute)
- weeks(start, end)
- word(data)
- year(theDate[,value])
- years(date1,date2)