Skip to content
bergsma edited this page Sep 26, 2014 · 5 revisions

#fputs

###Put string data to a file.

Syntax

status = fputs ( data,fileHandle ) ;

Arguments

  1. list data

The data to output.

  1. handle fileHandle

The handle of a file opened for write access..

Return Value

str status
  • $ACKNOWLEDGE : The data was output.

The STATUS variable is set to $ACKNOWLEDGE

str status
  • $ACKNOWLEDGE : The data was output.

The STATUS variable is set to $ACKNOWLEDGE

Exceptions

  • %ARGUMENT: Invalid arguments. Usage: status = fputs ( data,fileHandle ) ;

  • %FILE: Invalid file handle

  • %BOUNDS: Subscript is out of bounds

Description

hello

Examples

puts "Create an example for the function 'fputs'" ;

Related Links

put
puts
fput
get
gets
fgets
fget

Clone this wiki locally