first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

The Call Keyword Used with SysCmd()

Quite often the return value supplied by the Application object's SysCmd() Method is not needed. Instead of wasting a variable to store these values, use the Call keyword. Recall that when the Call keyword is used on a function (or a method that returns a value), its return value is discarded.

For example, the following call to SysCmd() returns Empty if successful:

Call Application.SysCmd(acSysCmdClearStatus)

by using the Call statement, the value of Empty is ignored.

mod date: 1999-04-25T06:12:14.000Z