xHarbour Reference Documentation > Preprocessor Reference xHarbour Developers Network  

#uncommand | #untranslate

Voids a previously defined #command or #translate directive.

Syntax

#uncommand    <searchPattern>
#untranslate  <searchPattern>

Arguments

<searchPattern>
This is the definition of the search pattern of a previously defined #command or #translate directive. The search pattern must be specified in the same manner as used in the definition of the #command or #translate directive to remove.

Description

The directives #uncommand and #untranslate remove a previously defined #command or #translate directive. The removed translation rule becomes unavailable and can be redefined.

#uncommand/#untranslate work similar to #xuncommand/#xuntranslate but match only the first keyword in the previously defined #command or #translate directive.

Note:  #command directives built into the xHarbour compiler cannot be removed using #uncommand.

Info

See also:#command | #translate, #undef, #xuncommand | #xuntranslate
Category: Preprocessor directives , xHarbour extensions

Example

// see the example for #xuncommand | #xuntranslate

Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe