%fputs() Function

The %fputs() function writes the string designated by str on the named output stream.

Syntax

var = %fputs(str, (char*)stream)

Description

eof (-1) is returned in case of an error.

Example(s)

equ nl to char(10)

n=%fputs(’Input file name’:nl,(char*)stream)

See Also

%fgetc() Function, %fputc() Function, %popen() Function, FlashBASIC C Functions Overview, cfunction Statement