p$tdv:allg:ParaEinf
p$tdv:allg:ParaEinf
Insertion of an entry into the given array. The subsequent entries are moved back. The entry is created and must be assigned a value afterwards.
Please note: The name, which is passed in Arrayname is passed indirectly in a string, and is therefore surrounded in quotation marks. Furthermore the parameter has to be global!
Please note: By the insertion, Number is increased by 1. The parameter for administration of the number of filled entries has to be adjusted.
Syntax: | Status = p$tdv:allg:Paraeinf( Arrayname , Index , Count ) | ||
| Argument | Type | Meaning |
| Array name | String | Name of the parameter array (as a string) |
| Index | Integer | Index of the entry to be inserted |
| Number | Integer | Max. number of entries in array or 0 if the function is supposed to calculate the number by itself. In this case the first undefined array entry serves as stop criterion |
Result: | Integer | 0 : everything ok | |
Example: | p$TDV:Allg:ParaEinf( 'Clients', 3, 0 ) | ||