hi list
I would like to use variables in a function. Normaly I achive this by 
declaring varX as global.

function() {
    global $X $Y $Z

The problem is know that I use a set of variables in a couple of 
functions an I would like to avoid adding/changing these global 
variables in each function. So my question. Is it possible to declare a 
set of variables without writing every variable name, instead use an 
array or function to declare them, something like:

function() {
    global $myvarsetarray

function() {
    myvarset(X)


thanks for any hints
nos



_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to