Someone please explain the...

P

PIFbg

Guest
Hi. I'm new to this forum and I have to say that it's great :)(the site too)

But back to the point:

Can somebody please explain to me the
integersyg5.jpg
Code:
For each (Integer A) from 1 to 10, do (Actions)
action?

And also explain what "INTEGER" means cuz I can't transl;ate it into my language. Thanks...
 

SomeGuy333

New Member
Reaction score
6
For each (Integer A) from 1 to 10, do (Actions) - that means that it will repeat the actions several times, integer A starts at the left number and each loop it will get a +1 and continue looping until Integer A equals the number on the right.

Integer means any whole number, no decimal points.

example: -9,-5,-1,0,1,5,9
 
P

PIFbg

Guest
For each (Integer A) from 1 to 10, do (Actions)

So that means that it will do some action 10 times and then it will stop,right?

thanks.. i think I've got it :)
 
G

grimtooth

Guest
It's been eating at me for a while - what if I have Integer Arrays. Let's say I have integer array of 10 values. So, will the repeated events add +1 to this everytime it is executed?
 
G

grimtooth

Guest
Ah, Is there anyway for me to pick ALL the arrays? Or I have to do each one manually?
 

exge

New Member
Reaction score
15
use a for loop for the array index, preferably for loop integer b

1 to end of array

i know in java there is arr.length ?? how about the we ... is there such a function too
 
G

gosugenji

Guest
@ grimtooth actually you CAN use a full array of #s with this method. use this

Actions,
For each Interger A 1 to 10 do Multiple actions
Create X units for player(Interger A) at center of map. etc..
 

dashival

New Member
Reaction score
11
I'm not sure if this is what you mean, but you can do:
Code:
For every Integer A 1 to 10 do Actions:
  For every Integer B 1 to 10 do Actions:
    Set ExampleArray[Integer A] = (Integer B)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top