fn: touch
[contents]

Contents

Syntax

The syntax for touch calls is:

f++:  
touch{option}(params)

n++:  
@touch{option}(params)

Description

The touch function takes a non-zero number of string parameters that should be paths to create, you can create files or directories.

Options

The following options are available for touch calls:

option description
dirs create directories
files create files (default)
option description

f++ example

Examples of touch being used with f++:

touch("example.txt")
touch{dirs}("dir/")

n++ example

Examples of touch being used with n++:

@touch("example.txt")
@touch{dirs}("dir/")