@ ... FILL Command COLOR Clause Can Be a Number

ID: Q88327

The information in this article applies to:

The @ ... FILL command supports an optional COLOR keyword. According to the documentation, the COLOR clause accepts a color pair as its argument, as the following example demonstrates:

   @ 2,2 FILL TO 4,4 COLOR n/w

However, the argument in the COLOR clause can also be a number, as follows:

   @ 2,2 FILL TO 4,4 COLOR 24

This functionality is not included in the documentation. It is provided in order to be compatible with FoxBASE, in which numbers are used to specify colors.

Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a 2.50b 2.60 2.60a KBCategory: kbprg kbdocerr KBSubcategory: FxprgGeneral

Last Reviewed: June 27, 1995