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

of

  • preposition, keyword
  • property of object
  • to the power of
  • insert/remove the script of obj into front/back
  • start/stop using script of x
  • answer/ask file of type
  • occurrences of
  • chunk of/in
  • number of, chunktype number of x in y, index of
  • operator: <literalNumber> of (new in 1.67)
    • Added a numberof operator for multiplication or repetition (note: this syntax requires a literal number before the word of, not a variable). This is particularly useful for fractions of numbers and units. If the value is a number or a list, it is multiplied by the number. Otherwise, the number of operator will cause it to be repeated like the repeated operator.
         put three hundredths of an inch -- 0.03 inches
put five of "#" -- "#####"
put 12 of (1,2,3) -- (12,24,36)
put 3 of (a,b,c) as a list -- (a,b,c,a,b,c,a,b,c)
set the listInsertionMode to nested
put 3 of (a,b,c) as a list -- ((a,b,c),(a,b,c),(a,b,c))