Previous Page | Next Page

SCL Arrays

Introduction to SCL Arrays

SCL supports two types of arrays: static and dynamic. The size of a static array is set when you declare the array and cannot be changed at runtime. With dynamic arrays, you do not specify a size when you declare the array, but you can use any one of several different SCL functions to control the size of the array. With a dynamic array, you can create an array of a specified size and resize the array explicitly as needed in your program. You can also specify that the array is implicitly growable.

The differences between ARRAY statement execution in SCL and ARRAY statement execution in the DATA step are described in Using SCL with Other SAS Software Products.

Previous Page | Next Page | Top of Page