Anybody used Programming->Attributes?

Hi

In the form->programming there is a place to define global variables called “attributes”. I cannot find an example of how you do this. If I create an attribute and call it my_global then try to reference it by $my_global elsewhere it is only local. If I use [my_global] then I have to access the list of globals and define it as a session / get / post etc and it would work in all events anyway. Am I missing something??

Thanks

Re: Anybody used Programming->Attributes?

Hi, is there any response about this question, I have never used this Attributes, and i would like to use them.

Re: Anybody used Programming->Attributes?

Hi

Attributes are like local variables, you can use like this: {var1}=‘something’

the difference is, that they are visible in different points of source code.
functions and so on…

they have a bigger scope.

Re: Anybody used Programming->Attributes?

Thanks you for your response, i understand now. They are very usefuly!!.