vadr (version 0.01)

ammoc: Evaluate all arguments in order, but return the first.

Description

Useful in where you want to clean up after a computation but but return the result of the computation, as in ammoc(x, rm(x)), or ammoc(readLines(file), close(file)). It's the reverse of the C comma operator. There is an infix alias, %\'%, (i.e., inverted comma; use whichever you feel a worse pun.)

Usage

ammoc(...)
x

Arguments

...
any number of arguments.

Value

The first argument.