DataBasic Reference > Statements and Intrinsic Functions > R > REMOVE.POS Statement

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

REMOVE.POS Statement (REMOVE.POS_statement.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

REMOVE.POS Statement

Sets the position of the internal REMOVE pointer.

Syntax

REMOVE.POS( string) = X

Syntax Elements

string

Name of a string whose internal REMOVE pointer is being returned or set.

Operation

REMOVE.POS positions the internal REMOVE pointer to the supplied position, or the end of the string delimiter if the supplied value is -1 or outside the range of the string.

MultiValue Compatibility

Refer to MultiValue Compatibility.

Example

READ ITEM FROM SALES,"2012" THEN  
RESTART = INDEX(ITEM, CRLF, 100) ;* Save position of delimiter prior to 100th line of sales item.
REMOVE.POS(ITEM) = RESTART ;* Position remove pointer prior to this field.
REMOVE PART FROM ITEM TO CRLF SETTING SET Remove the 100th line of sales item.

See Also

REMOVE statement, DELIM.POS function.

RealityV15.1 (MoTW) Revision 7Comment on this topic