Examples: Lexical elements

  1. D is a variable, := is an operator, and @Created is an @function without arguments. This formula assigns the creation date of a document to D.
    D := @Created
  2. @Trim is an @function with an argument. The argument, Subject, is a variable. This formula removes extraneous spaces from Subject.
    @Trim(Subject)
  3. @Prompt is an @function with three arguments. The first argument, [OK], is a keyword; the second and third arguments are text constants. This formula displays a dialog box.
    @Prompt([OK]; "Update Complete"; "Your update has been posted")
  4. SELECT is a reserved word and @All is an @function without arguments. This formula selects all documents for an operation, for example, for inclusion in a view.
    SELECT @All
  5. LastName is a variable, + is an operator, ", " is a constant, and FirstName is a variable. This formula concatenates LastName, a comma followed by a space, and FirstName.
    LastName + ", " + FirstName