Jump to content

Can I Make An Array/Variable Available Everywhere? (in every class and function)


Anti-Moronic

Recommended Posts

Here's the trouble I'm having: I use regex quite a lot so I've decided to compile them into an array. Problem is, I have no idea how to access this array from within many different classes or functions. Is there I way I can give my entire app access to this by declaring someting *outside* all classes?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.