Crystal Reports for Eclipse Designer Guide

Crystal syntax x[n]

  • Use Redim x[n] (with the square brackets) only in Crystal syntax.
  • A Redim statement in Crystal syntax cannot have multiple arrays.
Usage
Redim x[n] 
Re-dimension the array x to size n, where 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; old values are ignored
// and filled with default values of empty strings
Redim x [4];
x [4] := "dddd"; // only x[4] is initialized
Comments
When an array is re-dimensioned with Redim, elements in the array are filled with default values for that type.



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