Tagged Questions
0
votes
1answer
14 views
Visual Basic - Storing information from an array to a two dimensional array
I have some code where I have a "map" stored in a string and then I put this into an array. This array has seperated the string into characters for each index position. I now want to put these ...
2
votes
1answer
27 views
Comparing two Arrays with excel VBA
I need some assistance with my excel VBA project. Now, I know this has been asked before, but I couldn't find an answer that I fully understood. I'm fairly new to VBa and so some parts are just Hebrew ...
0
votes
0answers
8 views
Android animation's continuous loop is not happening
i just copied the code below from this link Android fade in and fade out with ImageView
but i don't understand why the continuous loop is not happening. Im thinking maybe the (forever) variable ...
0
votes
3answers
56 views
Ruby for loop gives Nil class error when assigning array values
I have a problem. I'm coding up a plug in for Google Sketchup and I'm trying to filter out array value and place the filtered values into another array. This is done like this:
for z in ...
0
votes
2answers
58 views
php array loop to get array
I have a $date array like this:
[1]=> array(11) {
["meetingname"]=> string(33) "win2008connectcurrent0423131"
[0]=> array(3) {
["scoid"]=> string(7) "3557012"
...
0
votes
3answers
44 views
Why does the each() end after it goes through array?
I have this script below and I want it to loop through each anchor and give the background
$c = ['85CC4C', 'D1FFCD', 'FF8D9D', '8A5949', 'CC8066'];
$('a').each(function(i){
...
-3
votes
0answers
43 views
Check My Array assignment [closed]
I am in an intro to c++ class, and we are in week 3 learning about arrays. I had to complete a console application which could do the following:
The purpose of this project is to give you an ...
0
votes
2answers
32 views
PHP: Get next value of an array until the foreach loop ends [duplicate]
I am trying to get the $current_account in a foreach loop until the fooreach loops ends. I am using the next function which gives me the next element in an array until it reaches the end. How can I ...
3
votes
3answers
56 views
Changing array value when condition is met in javascript
Let's say I have an array var arr = [3,4,5,6,7,9]; and I log the contents like this:
$.each(arr, function(k, v) {
console.log(v);
}
As I log the contents I want to check if the current value is ...
10
votes
5answers
141 views
Creating list of individual list items multiplied n times
I'm fairly new to Python, and think this should be a fairly common problem, but can't find a solution. I've already looked at this page and found it helpful for one item, but I'm struggling to extend ...
0
votes
2answers
42 views
lapply and rbind not properly appending the results
SimNo <- 10
for (i in 1:SimNo){
z1<-rnorm(1000,0,1)
z2<-rnorm(1000,0,1)
z3<-rnorm(1000,0,1)
z4<-rnorm(1000,0,1)
z5<-rnorm(1000,0,1)
z6<-rnorm(1000,0,1)
...
-11
votes
5answers
121 views
String Array Loop [closed]
I have a String Array that has 5000 Indexes. now I want to loop through them but only 1300 indexes at time until the end of string array how can I do this?
this is what I have so far
String [] ...
0
votes
3answers
49 views
Can I create a Javascript selector from an array of elements?
I'm managing a tree of iFrames (all nested on a page) by id and src, so for a given src I can return an array of elements leading to this iFrame, like so:
["document", "123123", "dasd321"]
Since ...
1
vote
1answer
89 views
How to loop a string array? class?
Ok, so this program allows user to input five adjectives and nouns, which outputs in a paragraph. There is a certain name for this game, usually found in kid's magazines..but the name escapes me right ...
-5
votes
0answers
45 views
Need Help Sorting and Comparing Arrays [duplicate]
This is the code I have so far. It reads in the baseball stats along with the corresponding team name from a file.
My teacher told us that for our final exam the problem would be something similar to ...