multiple solenoid valves working together ( multiple pins to be set as output )

PaulS:

Perhaps a for loop would work. 4 lines of code, instead of 100.

how can i do that? is like this

for( i ; i=45; i++)
{
pinMode( pinname , OUTPUT)
}
then another for loop for the second and third arduinos?

Are you planning on banging all 100 solenoids on and off at the same time?

lol.... yes for example at the beginning of my graphical water show i want all the solenoids to be opened at once so that the water falls as a curtain and then i want to manipulate them so that they can give me a desired drawing or a letter etc...