An array is an ordered data structure consisting of a collection of elements (values or variables), each identified by one (single dimensional array, or vector) or multiple indexes.
0
votes
0answers
8 views
VBA return Array from a function producing error on function call - only uer defined types
OK, I'm well and truly stumpled now, so hope someone out therecan help.
I have a function which collects data from various record sets, colaltes the data into a cutom data type, then stores instances ...
0
votes
0answers
13 views
2D loop going through the same 10 values rather than through 100
I'm not very sure how to approach this problem. Basically, I have an algorithm that loops through 100 buttons (10 rows of 10) and assigns a number value based on a randomized start and end point. When ...
1
vote
1answer
11 views
Working with Arrays in Classes (Excel VBA)
I'm working on a part of a program that does the following:
1) Determines there is an "X" in a certain cell and whether the header matches the user input
2) Adds the contents of the header to an ...
1
vote
0answers
34 views
Allocating an Array in Memory Manager
I want to successfully allocate an Array in my Memory Manager. I am having a hard time getting the data setup successfully in my Heap. I don't know how to instantiate the elements of the array, and ...
0
votes
2answers
17 views
store the values from command into an array bash
svn mergeinfo --show-revs eligible http://svn.test.com/INT_1.0.0/ http://svn.test.com/DEV/ | cut -d"r" -f2 | cut -d" " -f1
6097
6099
when i put this in a script, i get only last value but not all:
...
1
vote
3answers
36 views
How to create nested arrays? Javascript
I've been looking all over stackoverflow for something to help me implement an AreaChart. The problem is that I have something like this.
var items = new Array();
if ($(result).find('dato').length ...
0
votes
1answer
35 views
Removing non-matching pairs from array javascript
I would like to remove orphans (non-matching pairs) from current array:
J01171 01/11/2012 08:03:34 J01171 Bath Rd Ipswich Reconnected
J01171 01/11/2012 08:04:34 J01171 Bath Rd Ipswich Isolated ...
0
votes
5answers
35 views
Cycle all array's keys
Shame to ask, but I dont know how to echout all array's keys in this foreach cycle:
$i=0;
foreach ($matches as $match) {
echo $match[$i++];
}
Right now result is just "1". Instead of 1 2 3 7
Array
...
0
votes
3answers
47 views
Ajax Array to PHP issue
Im having difficulties when parsing an array using Ajax to PHP to send an email with the values from the array.
Ajax code:
$(document).ready(function(){
...
1
vote
1answer
23 views
3D Array of _unequal numbers_ of strings
I realise this has probably been done before but searching has turned up blank for this specific wrinkle.
If we want to define an array containing some strings, we can do:
char *strings[] = ...
0
votes
1answer
28 views
access elements of a list in local storage
Having a list as so:
var names_Array = [];
var names_List = new WinJS.Binding.List(names_Array);
I push into the list the following:
names_List.push({ name: "Joe Dowling", image: "image/Joe ...
-6
votes
1answer
57 views
javascript or php array format
I have quick question about arrays. I would like to have an array like this:
busList[bus][]
busList[train]
busList[tram]
1) I don't know if it's array in PHP or JS
2) I'm not sure if it's ...
0
votes
2answers
29 views
Output an Array or List to String
I wrote the following piece of code (in VBA in outlook) to try to output my list to a string. This way may not be perfect; it compiles, but I have not tested it yet; in any case, I'm wondering if any ...
0
votes
2answers
44 views
in_array and isset give different results?
I've got this json file, for instance, where i have some table metadata for my user.
{
"id": {
"index": ["primary", "auto_increment"],
"unsigned": true,
"type": "integer"
...
0
votes
3answers
18 views
Place an element of an Array as a Label on a JButton
So Im trying to challenge myself and create a simple word processor application. I'm currently setting up the keyboard and having some trouble with the keys. I have a String array with each of the ...