Solved

Informix Arrays

Posted on 2001-06-27
1
1,520 Views
Last Modified: 2009-12-16
How does Informix define a two dimensional array.

I would like to store my data in a two dimensional array and then when I have collected it all print it out.

I've looked at all my informix books and none of them show me 2 dimensional they all just show one dimesion.

Thanks for any light you can shed on this.

Greg
0
Comment
Question by:gandrews081397
1 Comment
 
LVL 1

Accepted Solution

by:
gamaerte earned 100 total points
ID: 6285904
Hi Greg ,

You have two possible solutions :

If you have a fixed width 2 dimensional array , you can set it up to calculate it from one dimension

on an array 10 wide , for position 3,5 you calculate it as 3 + 5 * 10


Or even simpler just set the positions as attributes.
(just add them as columns)

0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question