Spec-Zone.ru › ColdFusion

fileWriteLine

Добавляет содержимое в существующий файл

fileWriteLine(file, data) → returns void

  • CF8+
  • Lucee
  • BL 1.0.0+
  • См. также: fileWrite fileAppend

    Справочник по аргументам

    file any
    Обязательный

    Файл, в который нужно добавить содержимое

    data string
    Обязательный

    Содержимое для добавления в файл

    Примеры
    Пример кода с вызовом функции fileWriteLine

    Синтаксис Script

    myfile = fileOpen("c:\temp\test1.txt", "write"); 
    fileWriteLine(myfile,"This line is new."); 
    fileClose(myfile);

    © 2012–present Foundeo, Inc. and the CFDocs contributors.
    Licensed under the MIT License.
    ColdFusion is a trademark of Adobe Systems Incorporated.
    https://cfdocs.org/filewriteline

    Spec-Zone.ru

    Настройки Оффлайн Что нового Помощь О нас
    Spec-Zone .ru
    спецификации, руководства, описания, API