# WriteString

## Description

Writes a null terminated string to the given file, which must have been opened for writing. Note that this command is not meant for human readable files and should only be used for files that will later be read with ReadString. To create human readable files use WriteLine

## Definition

WriteString( iFileID, str )

void agk::WriteString( UINT iFileID, const char* str )

## Parameters

- iFileID - The ID of the file to modify.
- str - The string to write.