Spec-Zone.ru › ColdFusion

fileWriteLine

Appends content to an existing file

fileWriteLine(file, data) → returns void

  • CF8+
  • Lucee
  • BL 1.0.0+
  • See Also: fileWrite fileAppend

    Argument Reference

    file any
    Required

    The file where you want to add your content

    data string
    Required

    Content to add to the file

    Examples
    Sample code invoking the fileWriteLine function

    Script Syntax

    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