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

Add2()

This is a rexx function provided by PPWIZARD. This routine (like all PPWIZARD extensions) can be used with any operating system supported 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.


[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)
Thursday January 17 2002 at 6:27pm