メインコンテンツまでスキップ
バージョン:25.2

comma

  • used in lists of formal parameters

    • Examples: +

       to handle remembrance event, date, attendees
       params x,y
  • used to separate parameters to commands and functions

    • Examples: +

       prepareOrder items, quantities, details
       set total to sum(previousBalance, newEntries)
  • used in declaration lists of local, global, and universal variables

    • Examples: +

       global currentGoods, interestRate, totalExpense
  • used to separate items in list expressions

    • Examples: +

       set coords to [47, 88, 16]
  • used to separate key:value pairs in property list expressions

    • Examples: +

       put {release:6.01, date:today, ident:"giraffe"} into specs
  • used in lists of helpers

  • used in some commands (e.g. list of options in answer command)