Solved

Informix Arrays

Posted on 2001-06-27
1
1,538 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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…
Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
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…

730 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