Overwrite file

Description

Overwrites a text file by deleting the old content and replacing it with new content.

Parameters

Path

  1. Set a value: enables you to directly write the desired path.

  2. Save the previous step result: chooses the previous function result as a path.

  3. Calculate a value: enables you to use available properties and methods to form a path.

Text

  1. Set a value: enables you to directly provide a text to be written to a file.

  2. Save the previous step result: chooses the previous function result as a text to write.

  3. Calculate a value: enables you to use available properties and methods to form an output string.

Comment

Contains an annotation to the block. The input text will be displayed inside the block above the function name.

Usage Examples

This function is useful when you need to write results of some actions in your program but you don't need to keep the full history of the actions. Then you can make use of this function to renew the file content.

‚Äč