sprint: Print to console using C-like sprintf formatting.

Description Usage Arguments Details Value Functions See Also

Description

A simple function to print text and variable content on the console, using the C-like function sprintf formatting style.

Usage

1
2
3
sprint(string, ...)

sprintcat(string, ...)

Arguments

string

A character string containing text and formatting style.

...

Additional parameters passed to sprintf. In most cases, these are the sequence of variables that are printed, provided they have an associated formatting in the string.

Details

There are two versions of this function: sprint and sprintcat. Function sprint automatically appends a carriage return at the end of the string whereas sprintcat does not.

Value

No return value. This function is called for its side effects by printing on the console.

Functions

See Also

sprintf()


jeanmarcgp/xtsanalytics documentation built on May 19, 2019, 12:38 a.m.