Skip to main content

MVCRT

Performs MultiValue printing to terminal.

Synopsis

MVCRT:pc printlist
MVC:pc printlist

Arguments

Argument Description
pc Optional — A postconditional expression. For further details, refer to Command Postconditional Expressions in Using Caché ObjectScript.
printlist Optional — Any MVBasic expression that resolves to a quoted string or a numeric. You can specify a single expression or a series of expressions. If printlist is omitted, a blank line is returned.

Description

The MVCRT command invokes the Caché MVBasic CRT command, performs the specified operation, and returns to the ObjectScript environment. Specify parameter values in MVBasic form.

Within printlist, you can specify tab and line return formatting using features of ObjectScript WRITE command syntax, rather than MVBasic CRT command syntax. Only a limited subset of WRITE formatting syntax is supported: comma (concatenate), question mark (tab), and exclamation mark (line return). Multiple exclamation marks and numeric tabs are not supported. The following table shows the format equivalences:

MVCRT (ObjectScript) CRT (MVBasic)
MVCRT a CRT a:
MVCRT a,! CRT a
MVCRT a,b,! CRT a:b
MVCRT a,!,b,! CRT a CRT b
MVCRT a,?,b,! CRT a,b

For further details refer to the Caché MultiValue Basic Reference.

See Also

  • MVPRINT command

  • WRITE command

  • CRT command in Caché MultiValue Basic Reference

FeedbackOpens in a new tab