Summary

Alphabetic listing of Agent built-in keywords.

The Agent language includes keywords to aid with instruction flow control. These are not case-sensitive. See Agent built-in keywords table on the Functions and Methods Reference page to know the earliest version of the Agent in which a built-in keyword was implemented.

Agent Built-in Keyword groupings

  • Page:
    ERROR Immediately terminate an instruction with exit code "Error" with a custom error message.
  • Page:
    EVALUATE Immediately terminate an instruction with exit code "Success, no content" if the preceding statement returned no results.
  • Page:
    FOREACH IN DO DONE — Allows you to repeat a block of one or more statements for each row in a @table, and optionally save in a @table the output of the last statement in the block.
  • Page:
    IF ELSE ENDIF — Allows conditional branching of instruction flow based on a condition.
  • Page:
    NOCONTENT — Immediately terminate an instruction early with an exit code “Success, no content”.
  • Page:
    NOTIMPLEMENTED Immediately terminate an instruction with exit code "Not implemented" and a custom error message.
  • Page:
    RETURN Immediately terminate an instruction with a given set of results.
  • Page:
    true false — Used as parameter values for certain Agent methods.