XML. - eXtended Markup Language

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > XML-Parser > XML. - after parse >

XML. - eXtended Markup Language

XML.DecPos / XML.DecrementPosition

Previous Top Next


MiniRobotLanguage (MRL)

 

XML.DecPos

XML.DecrementPosition

Decrement the current XML position by a specified amount.

 

 

Intention

 

This command moves the current XML position backward by the specified number of characters. If no amount is specified, it decrements by 1.

 

 

 

Syntax

 

 

XML.DecPos[|Amount]

 

 

Parameters

 

Amount - (Optional) Number of characters to move backward. Defaults to 1 if not specified.

 

 

Return Value

 

None. The internal position pointer is updated.

 

 

Example

 

' Move position backward

XML.DecPos|5

' Or decrement by 1

XML.DecPos

 

 

See also:

 

  incpos - Increment Position

  spo - Set Position

  gpo - Get Position