Crystal Reports for Eclipse Designer Guide

Crystal syntax x[n]

  • Use Redim Preserve x[n] (with the square brackets) only in Crystal syntax.
  • You may not have multiple arrays in one Redim Preserve statement in Crystal syntax.
Usage
Redim Preserve x[n] 
Re-dimension the array x to size n, while preserving the initial values in x. x is an array and n is a positive whole number specifying the new size of n.
Examples
The following example is applicable to Crystal syntax:
Local StringVar array x := ["a", "bb", "ccc"];
// resize the array to size 4 while preserving the old values.
Redim Preserve x [4];
// now x = ["a", "bb", "ccc", "dddd"]
x [4] := "dddd";
x[4] // returns "dddd"



SAP BusinessObjects
http://www.sap.com/sapbusinessobjects/
Support services
http://service.sap.com/bosap-support/
Product Documentation on the Web
http://help.sap.com/