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

file

  • keyword, object type (file x)
    • A file can be treated as a container by simply referring to it as “file filePath” in any place where a container can be used in a script.
    • Examples:
      • put file “~/Documents/blog.txt” into blog — read file
      • put newText into file “/tmp/holder.txt” — write file
      • put logEntry & return after file logFile — append to file
    • Related: open file, read from file, write to file, delete file, exists
  • close file
  • copy file ... to file
  • create file
  • delete file
  • move file ... to file
  • open file
  • read from file
  • rename file ... as file
  • seek in file
  • write to file
  • answer file
  • ask file
  • zip file
  • unzip file