# help me array check

## Recommended Posts

Hello
Need help.
My program is an array, eg array [ 50 ] and already declared all the data , let's say array [0] is 1 and so on until 49 I want to do an action for each array , and I need to check if I 'm on number 30 , I have to start doing the action of the array [ 30 ] up to 49 and then back to 1

##### Share on other sites

So what did you try that isn't working yet?

Jos

ps: No need to tell us you need help when you are posting in the support forum.

Edited by Jos

Live for the present,
Dream of the future,
Learn from the past.

##### Share on other sites

I need the program to take a number I enter and make an action starting it.
If I write 10 , I need it to read the array , look for an array that has the number 10 , and while the number that Type is equal to the position of the array found perform an action . +1 add the entered number , and to do that until the last array and then comçar the array [0] again.
Also need to check when they have Two equal numbers , if you find two 10 I need to know which comes first, say,
\$ array [ 4 ] = 10
\$ Array [ 25] = 10
If want to start doing the action in \$ array [ 4 ] .

Sorry for my english, i do not know much.

And thanks you

##### Share on other sites

Again, what have you tried that isn't working? You were given some examples yesterday so what do you have that needs to be changed?

Jos

Live for the present,
Dream of the future,
Learn from the past.

##### Share on other sites

Yes, yesterday those examples helped me a lot , I'm using them.
Redim to increase my array, now I can write the data in my right array.
More now I need to compare a number with this Data within the array.
Example
[ 0] = 3467
[ 0] = 3466
[ 0] = 3465
I need to compare these data with my variable .
In this case, my valley 3466 , must take action to change my variable And check with the data from the array , I will increase for 3467 .

##### Share on other sites

You are still failing to show your basic script you have to build on!

Jos

Live for the present,
Dream of the future,
Learn from the past.

##### Share on other sites

I can not tell you exactly what it is because otherwise you will not help me .
Has a little there to hack , not a hack to steal money or anything, is well  harmles, most think that you will not help me.

Edited by rodiney

##### Share on other sites
11 minutes ago, rodiney said:

I can not tell you exactly what it is because otherwise you will not help me

This remark has the same result because we don't like to be played with!

-click-

Live for the present,
Dream of the future,
Learn from the past.

##### Share on other sites
This topic is now closed to further replies.

×

• Wiki

• Back

• Git