function setup() question

I have what is probably a really dumb question. I see that some people set up variables and such before the setup function. What is the reasoning behind this? Is it just a matter of personal preference, or is there a reason for it? I thought the setup function was for things like that.

Jim

We need a “close as duplicate” … (been spending too much time on StackOverflow) … I asked something similar. Maybe the answers there will help.

Thank you, good sir. I missed that one, and I have been reading every post since I joined. Since I hadn’t seen it discussed, I assumed it hadn’t been asked yet - and didn’t do a search. There’s that ass-u-me thing again. :">
Anyway, very good explanation of how it works.

Jim