PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: Inbuilt PPWIZARD Functions[Next]: AddCommasToDecimalNumber()
\ -> Rexx -> Inbuilt PPWIZARD Functions -> Add2()

Add2()

This is an inbuilt function function provided by PPWIZARD.

This routine simplifies the addition of data into arrays and makes the code easier to understand.

Each time this routine is called the supplied data is added onto the end of the array (stem).

If the array did not exist it is created then updated.

The function takes 1 or 2 parameters as follows:

  1. The string to be added.

  2. This parameter indicates the array (stem) to be updated. You should not pass a trailing dot. If you don't pass a value the last value used is used for the call.

The routine returns the number of items in the array. As per normal rexx convention, this value is also saved into the ".0" item.


email me  any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Search][Prev]: Inbuilt PPWIZARD Functions[Next]: AddCommasToDecimalNumber()


PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Sunday November 05 2017 at 10:00am