Gentee Programming Language > Documentation > GT language Download documentation

gtitem.modifyattribnot

If the value of the attribute is equal to 0 or if it is not defined, the method changes this value to 1. In all other cases, the method sets the value of the attribute to 0.
 
uint gtitem.modifyattribnot(
      str   attrib
)

Parameters

attribAttribute name.

Return value

Nonzero if initialization was successful; otherwise 0.

See also

    GT API methods


 Copyright © 2004-2006 Gentee Inc. All rights reserved.