Opt disp

opt_disp is a function that displays a given message to the user if and only if a specific flag is specified. The only purpose of this function is to reduce the number of if statements within the code of other functions, thus making them a bit more readable.

Syntax

 * opt_disp(X,VERBOSE)

Argument descriptions

 * X: A string to be displayed to the user.
 * VERBOSE: A flag (either 1 or 0) indicating whether or not X will be displayed.

Examples
Display and don't display a message to the user: