#NAME Preprocessor Directive

#NAME SnippetName

Parameters

  • SnippetName
    This is the name assigned to the snippet. The SnippetName must conform to the rules for naming procedures and functions.

Remarks

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. The #NAME directive must appear at the top of a snippet, before any code statements. Blank lines or comments can precede the #NAME directive.

Note   Visual FoxPro does not check for duplicate names.

See Also

#DEFINE ... #UNDEF Preprocessor Directive | #IF ... #ENDIF Preprocessor Directive | #IFDEF | #IFNDEF ... #ENDIF Preprocessor Directive