make_or_read: Read or create a file

Description Usage Arguments Value

Description

A function that determines whether to read or create a file based on whether that file currently exists.

Usage

1
make_or_read(fp, make_expr, read_expr)

Arguments

fp

filepath

make_expr

expression used to create the file

read_expr

expression used to read the file

Value

The object that is read or created is returned silently.


tiernanmartin/miscgis documentation built on May 31, 2019, 1:19 p.m.