Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

EXEC( [ cCmd[, cMsg_str[, xcVal_str ;
      [, lPause ]]]] )

Purpose

Execute a DOS program, or just drop into DOS.

Arguments

     cCmd -- if passed, command to execute, else go to DOS shell

     xMsg_str -- if passed, the user is prompted to enter command line
                     arguments using this prompt

     xcVal_str -- if passed, valid condition for getting args

     pause -- if passed and .T., wait for keypress after execution;
                  defaults to no pause

Setup

This function assumes that the DOS program called can handle
the not-enough-memory condition.

Example

     ? EXEC()

Returns

.T.

Side Effects

If the called program cannot handle an out-of-memory situation, the
computer may hang.

Artful Calls

DRAW_BOX, CENTRE, ASK_FOR, MSG, PUSH/POP_SCR

Source File

AA_EXEC.PRG

See Also: DO_SWAP()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson