Proc Reference > PQN Proc Commands > +

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.

Reality V15.0 ()

+ command (Proc) (m618403+plus.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

+

Adds an integer to the current parameter in the active input buffer.

Syntax

+n

Syntax Elements

n is the integer to be added.

Operation

The + command adds the integer specified by n to the current parameter in the active input buffer.

If the number of characters in a parameter increases after a + command, then the proper result is loaded and other parameters are moved to the right.

If a parameter is preceded by a plus sign, that sign is replaced with a zero.

If the buffer pointer is at the end of the buffer, a new parameter is created by the + command.

If the referenced parameter is nonnumeric, a zero is used.

Example 1

Command PIB Before PIB After
+28 ABC^123^456
   
ABC^151^456
  

Example 2

Command PIB Before PIB After
+10 XXX^92^33
   
XXX^102^33
  

Example 3

Command PIB Before PIB After
+12 ABC^0000^45
  
ABC^0012^45
  

RealityV15.0Comment on this topic