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

indent

  • property of the listFormat and the propertyListFormat global properties

  • Setting this property to a suitable string such as "  " will cause individual list items or property list entries to be displayed on separate lines with values indented by multiples of the indent value according to the nesting of the structure.

  • Examples: +

     set list to ["apple", "banana", "cherry"]
    put list —> ["apple","banana","cherry"]
    set the listFormat's indent to " " -- indent by 2 spaces
    put list —> [
    "apple",
    "banana",
    "cherry"
    ]


  • Related: listFormat, propertyListFormat