Gentee Programming Language > Documentation > GT language Download documentation

gtitem.getattrib

Get the value of the specified object attribute.
 
uint gtitem.getattrib(
      str   attrib,
      str   output
)
uint gtitem.getattrib(
      str   attrib,
      str   output,
      uint   mode
)

Parameters

attribAttribute name.
outputResult string.
mode
$GTG_OVEROverwrite
$GTG_OVEREXISTOverwrite if the string is not empty
If it is called without this parameter, the string will be added.

Return value

Nonzero if initialization was successful; otherwise 0.

See also

    GT API methods


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