Directive #xcommand | #xtranslate Foundation

Defines user-defined commands or translation directive

Syntax
#xcommand   <search rule> => <replacement rule>
#xtranslate <search rule> => <replacement rule>
Parameters
<search rule>
<search rule> is a character string that defines a rule describing the search pattern to use when the preprocessor scans source code.
<replacement rule>
<replacement rule> is a character string that defines a rule describing how to output the text matched using the <search rule>.
Description

The two directives #xcommand and #xtranslate are nearly identical to the directives #command and #translate. The only difference is that they do not follow the dBASE convention of considering only the first four characters of keywords and function names. #xcommand and #xtranslate consider significant all the characters of a keyword or function name. Other than this these two directives function exactly like #command and #translate (see #command).

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.