Number Method

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 17:08

Description

Returns the sequential number of the node (the position of this node in a sequence of consecutive nodes of the same type).

Available in Ted and in Fred.

Syntax

dim idx as Integer = object.Number

object

Required. Object name. Returned by the GetRootNode, GetCurNode, GetTxtNode, GetParent, GetChild functions of the object, returned by Ted.GetActiveArticle.

Remarks

E.g. in the article

 Article

         Head

         Body

         Photo 1

         Photo 2

         ...

         Photo N

the number for Head, Body and Photo 1 is 1, for Photo 2 is 2 and so on.

The number of the root node is always 0.

Context

Node object