Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - How to dynamically define the array of VFP
How to dynamically define the array of VFP
Define array command: declare or dimension command.

1.dimension command

Size ar (10):

Define a one-dimensional array ar with 10 elements, and the array subscript starts from 1.

Size ab:

Define a two-dimensional array ab with six elements.

Step 2 declare a command

Declare a (3, 4):

Define a two-dimensional array A with 12 elements.

Definition of array in java:

String array:

1, String[]str = new string [5];

2、String[]str = new String[]{“a”,“b”};

3、String[] str={"a "," b " };

Plastic array: