Skip to main content

MVPRINT

Performs MultiValue printing to terminal or printer.

Synopsis

MVPRINT:pc printlist
MVP: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 MVPRINT command invokes the Caché MVBasic PRINT 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 PRINT 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:

MVPRINT (ObjectScript) PRINT (MVBasic)
MVPRINT a PRINT a:
MVPRINT a,! PRINT a
MVPRINT a,b,! PRINT a:b
MVPRINT a,!,b,! PRINT a PRINT b
MVPRINT a,?,b,! PRINT a,b

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

See Also

  • MVCRT command

  • WRITE command

  • PRINT command in Caché MultiValue Basic Reference

FeedbackOpens in a new tab