ClassesClasses | | Operators

fnew_lineT_fnew_lineFnewLineFnewLine (Operator)

Name

fnew_lineT_fnew_lineFnewLineFnewLine — Create a line feed.

Signature

fnew_line( : : FileHandle : )

Herror T_fnew_line(const Htuple FileHandle)

void FnewLine(const HTuple& FileHandle)

void HFile::FnewLine() const

static void HOperatorSet.FnewLine(HTuple fileHandle)

void HFile.FnewLine()

Description

The operator fnew_linefnew_lineFnewLineFnewLineFnewLine puts out a line feed into the output file defined by the handle FileHandleFileHandleFileHandleFileHandlefileHandle. The output file must be opened in ASCII format. At the same time the output buffer is cleaned.

Execution Information

Parameters

FileHandleFileHandleFileHandleFileHandlefileHandle (input_control)  file HFile, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

File handle.

Example (HDevelop)

  fwrite_string(FileHandle,'Good Morning')
  fnew_line(FileHandle)
  

Example (C)

  fwrite_string(FileHandle,"Good Morning") ;
  fnew_line(FileHandle) ;
  

Example (HDevelop)

  fwrite_string(FileHandle,'Good Morning')
  fnew_line(FileHandle)
  

Example (HDevelop)

  fwrite_string(FileHandle,'Good Morning')
  fnew_line(FileHandle)
  

Example (HDevelop)

  fwrite_string(FileHandle,'Good Morning')
  fnew_line(FileHandle)
  

Result

If an output file is open and it can be written to the file, the operator fnew_linefnew_lineFnewLineFnewLineFnewLine returns the value 2 (H_MSG_TRUE). Otherwise, an exception is raised.

Possible Predecessors

fwrite_stringfwrite_stringFwriteStringFwriteStringFwriteString

See also

fwrite_stringfwrite_stringFwriteStringFwriteStringFwriteString

Module

Foundation


ClassesClasses | | Operators