EXEC()

From Lianjapedia
Revision as of 11:14, 12 December 2012 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

Purpose

Function to execute a list of commands

Syntax

EXEC(<expC1> [, <expC2> ...])

See Also

ALIAS, DO, EXECSCRIPT(), KEYWORD, RUN, RUN(), SPAWN,

Description

The EXEC() function executes a list of commands. Each command is specified by <expC1>, <expC2>, and so on. The EXEC() function returns a logical true (.T.) if all the specified commands execute without error, or a logical false (.F.) if an error occurs.

Example

? exec("open database southwind","use example","browse")