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:
- abs(sourceNum)
- action([scope,]codeStr)
- any(scope, condition)
- atan(radiansNum)
- attribute(attributeNameStr).keys
- attribute(attributeNameStr)[keyStr]
- attributeEncode(dataStr)
- avg_if(scope, condition, expressionStr)
- avg(scope, expressionStr)
- between(valueNum, minNum, maxNum)
- capitalize(dataStr)
- ceil(sourceNum)
- collect_if(scope, condition, expressionStr)
- collect(scope, expressionStr)
- Color.format()
- compositeFor(nameStr)
- compositeWithName(compositeNameStr)
- contains(item)
- cos(radiansNum)
- count_if(scope, condition)
- count(scope)
- covid([stateStr, countryStr|zipCodeStr], aDate, keywordStr)
- create([containerStr, ]nameStr)
- createAdornment([containerStr, ] nameStr)
- createAgent([containerStr, ]nameStr)
- createAttribute(nameStr[, dataType])
- createLink(sourceItem, destinationItem[, linkTypeStr])
- Date.format(formatStr)
- date(dateStr)
- date(yearNum, monthNum, dayNum[, hourNum, minNum])
- day(aDate[, dayNum])
- days(firstDate, lastDate)
- degrees(radiansNum)
- delete(scope)
- descendedFrom(item)
- Dictionary.add(itemDict)
- Dictionary.contains(keyStr)
- Dictionary.extend(itemDict)
- Dictionary.icontains(keyStr)
- dictionary(dictionaryStr)
- Dictionary[keyStr]
- distance(startItem, endItem)
- distanceTo(startItem, endItem)
- do(macroStr[,argumentsList])
- document.keys()
- document()
- document[keyStr]
- drivingTimeTo(item)
- eachLink(loopVar[,scope]){actions}
- escapeHTML(dataStr)
- eval([item], expressionStr)
- every(scope, condition)
- exp(powerNum)
- expand(scope,methodStr)
- exportedString(item[, templateStr])
- fail()
- fetch(urlStr,headersDict,attrNameStr,cmdStr[,httpMethod,POSTbody])
- find(scope)
- first(item[, childrenNum])
- firstWord(dataStr)
- floor(sourceNum)
- format(dataStr, formatStr[, additionalArguments])
- hasLocalValue(attributeNameStr[, item])
- hour(aDate[, hoursNum])
- hours(startDate, endDate)
- idEncode(dataStr)
- if(condition){actions}[else{actions}]
- indented(depthNum[, item])
- inheritsFrom([item, ]prototypeStr)
- inside(item)
- Interval.format(formatStr)
- interval(dataStr)
- interval(startDate, endDate)
- isbn10(dataStr)
- isbn13(dataStr)
- JSON.each([pathStr]){actions}
- JSON.json[itemNum]
- JSON.json[keyStr]
- JSON.jsonValue(pathStr)
- jsonEncode(dataStr)
- last(item[, childrenNum])
- lastWord(dataStr)
- linkedFrom(scope[, linkTypeStr])
- linkedTo(scope[, linkTypeStr])
- linkFrom(scope[, linkTypeStr])
- linkFromOriginal(scope[, linkTypeStr])
- linkPath(pathNameStr[, startStr, endStr])
- links[(scope)].[directionStr].[linkTypeRegex].attributeNameRefStr
- linkTo(scope[, linkTypeStr])
- linkToOriginal(scope[, linkTypeStr])
- List.isort([attributeRefStr])
- List.nsort([attributeRefStr])
- List.select()
- List.sort([attributeRefStr])
- List.unique()
- list(expressionList)
- List/Set.any(loopVar, expressionStr)
- List/Set.asString()
- List/Set.at(itemNum)
- List/Set.avg()
- List/Set.collect_if(loopVar, condition, expressionStr)
- List/Set.collect(loopVar, expressionStr)
- List/Set.contains(matchStr)
- List/Set.count_if(loopVar, condition)
- List/Set.countOccurrencesOf(literalStr)
- List/Set.each(loopVar){actions}
- List/Set.every(loopVar, expressionStr)
- List/Set.format(formatStr)
- List/Set.icontains(matchStr)
- List/Set.intersect(aSet)
- List/Set.lookup(keyStr)
- List/Set.randomItem()
- List/Set.remove(matchValue)
- List/Set.replace(regexMatchStr, replacementStr)
- List/Set.reverse()
- List/Set.sum_if(loopVar, condition[, expressionStr])
- List/Set.sum()
- List/Set.tr(inStr, outStr)
- List/Set[itemNum]
- locale([localeCodeStr])
- log(sourceNum)
- lowercase(dataStr)
- max(numberList)
- min(numberList)
- minute(aDate[, minutesNum])
- minutes(startDate, endDate)
- mod(sourceNum, modulusNum)
- month(aDate[, monthsNum])
- months(startDate, endDate)
- neighbors(scope, distanceNum[, linkTypeStr])
- neighbors2(scope, distanceNum[, linkTypeStr])
- neighbors2Within(scope, distanceNum[, linkTypeStr])
- neighborsWithin(scope, distanceNum[, linkTypeStr])
- notify(headlineStr[, detailsStr, deliveryDateTime ])
- Number.ceil()
- Number.floor()
- Number.format(decimalsNum[, widthNum, padStr]|formatStr)
- Number.precision(decimalsNum)
- Number.round()
- originalLinkedFrom(scope[, linkTypeStr])
- originalLinkedTo(scope[, linkTypeStr])
- play(soundNameStr)
- pow(sourceNum, powerNum)
- radians(degreesNum)
- rand([maxNumber])
- require(featureName)
- rgb(redNum, greenNum, blueNum)
- round(sourceNum)
- runCommand(commandStr[, inputsStr, dirStr])
- seconds(startDate, endDate)
- select()
- select(scope)
- show(msgString[, backgroundColor[,colorString]])
- similarTo(item[, notesNum])
- sin(sourceNum)
- sqrt(sourceNum)
- stamp([scope, ]stampName)
- String.beginsWith(matchStr)
- String.capitalize()
- String.captureJSON()
- String.captureLine([targetAttributeStr])
- String.captureNumber([targetAttributeStr])
- String.captureRest([targetAttributeStr])
- String.captureTo(matchStr[, targetAttributeStr])
- String.captureToken([targetAttributeStr])
- String.captureWord([targetAttributeStr])
- String.captureXML()
- String.contains(regexStr)
- String.containsAnyOf(regexList)
- String.countOccurrencesOf(literalStr)
- String.deleteCharacters(characterSet)
- String.eachLine(loopVar[:condition]){actions}
- String.endsWith(matchStr)
- String.expect(matchStr)
- String.expectNumber()
- String.expectWhitespace()
- String.expectWord()
- String.extract(regexStr[, caseInsensitiveBln])
- String.extractAll(regexStr[, caseInsensitiveBln])
- String.failed()
- String.find(matchStr)
- String.following(matchStr)
- String.icontains(regexStr)
- String.icontainsAnyOf(regexList)
- String.json()
- String.jsonEncode()
- String.lowercase()
- String.next()
- String.paragraph(paraNum)
- String.paragraphs(parasNum)
- String.replace(regexMatchStr, replacementStr)
- String.reverse()
- String.sentence([sentenceNum])
- String.show([backgroundColor[,colorString]])
- String.skip(charsNum)
- String.skipLine()
- String.skipTo(matchStr)
- String.skipToNumber()
- String.skipWhitespace()
- String.speak([voiceNameStr])
- String.split(regexStr)
- String.substr(startNum[, lengthNum])
- String.toNumber()
- String.tr(inStr[, outStr])
- String.trim([filterStr])
- String.try{actions}[.thenTry{actions}]
- String.uppercase()
- String.words(wordsNum)
- StyledString.bold()
- StyledString.fontSize(pointSizeNum)
- StyledString.italic()
- StyledString.plain()
- StyledString.strike()
- StyledString.textColor(aColor)
- substr(dataStr, startNum[, lengthNum])
- sum_if(scope, condition, expressionStr)
- sum(scope, expressionStr)
- tan(radiansNum)
- time(aDate, hoursNum, minutesNum, secondsNum)
- time(aDate)
- twitter(usernameStr, statusStr)
- type(attributeNameStr)
- unlinkFrom(scope[, linkTypeStr])
- unlinkFromOriginal(scope[, linkTypeStr])
- unlinkTo(scope[, linkTypeStr])
- unlinkToOriginal(scope[, linkTypeStr])
- update(scope)
- uppercase(dataStr)
- urlEncode(dataStr)
- values([scope, ]attributeNameStr)
- weeks(startDate, endDate)
- word(dataStr)
- wordsRelatedTo(dataStr[, wordsNum])
- XML.each(pathStr){action}
- XML.xml(pathStr)
- year(aDate[, yearsNum])
- years(startDate, endDate)