#NAME Preprocessor Directive

This screen and menu generator directive names a snippet produced by clauses such as SHOW, WHEN and VALID, whether the snippet is produced at the object or READ level.


#NAME SnippetName

SnippetName

Specifies the name assigned to the snippet. SnippetName must conform to the rules for naming procedures and functions.

The #NAME directive must appear at the top of a snippet, before any code statements. You can precede the #NAME directive with blank lines or comments.

Note:

Visual FoxPro does not check for duplicate names.

Community Additions

Show: