Global array - var's in HEader

I have a small problem.

I would like to use global variables in the SC header. There works with simple variables such as [varname] or even with local variables such as () vanam just fine.
Nin but I want to implement a versioning of the modules in my system. I would like to use an associative array.

$ Major = 3;
$ Sub = 0;
$ Build = 123;

$ System [<module>] [‘version’] = $ .".".$ major sub “(”.$ .")"; build
sc_set_global ($ system);

Up to here everything works just fine. There is a global array SYSTEM.

When I use now in a header (Leayout>> Header & Footer) [system ][…] I just get the word “Array”.
Derzusammenhang I do realize … SC Walk to everything in square brackets in $ _SESSION […].

But how to access a global array?

Re: Global array - var’s in HEader

If you get the word ‘Array’ then you are not drilling down far enough. You need to specify the element.
Use print_r($array) or dump_var($array) to get the exact element of your multi array.

I do not use the SC functions to create arrays.

{local_function_var}; // visible to function only
[global_app_var]; // all functions in app
$_SESSION[‘session_var’]; // entire project, all apps

$array1 = array(0,0,0);
$array2 = array(0,0,0);
$both_array = ($array1,$array2);

// 1st row, field 1,2
$both_array[0][0];
$both_array[0][1];

// 2nd row, field 1,3
$both_array[1][0];
$both_array[1][2];

Regards,
Scott.