cancel
Showing results for 
Search instead for 
Did you mean: 

Two Dimensional Arrays in 16 ?

0 Kudos
1,158

The Documentation says ( as a new feature ) you can Declare a two dimensional Composite Data Type ( ARRAY )

Is this true ? It only allows me to declare one dimension

e.g. DECLARE New2DArray INTEGER ARRAY(5) ARRAY(10);

if not, is there a work-around ?

greg

Accepted Solutions (1)

Accepted Solutions (1)

VolkerBarth
Contributor

You are relating to the following doc page, right?

AFAIK, the mentioned sample does not fit. You have to build an array of arrays as mentioned in the next sample from that page, such as

DECLARE New2DArray ARRAY(10) OF ARRAY(5) OF INTEGER;

More samples and explanations can be found in Breck's great Top 10 Cool New Features in SAP Sybase SQL Anywhere 16 article.

Answers (0)