But now I have to do a lot of
global($myPseudoProcessVar) in most methods.

If you only want the variable to be global to the current request, this is not correct. The globals collection is global to every process. It's the equivalent to interprocess variables in 4D.
Why is this not correct?
Manual Page 219:
global(localVar {; localVarN} | *)

Currently with the global keyword you have to declare the variables global in every method that use them. It sounded to me like you want to declare a variable to be global only once in the global scope.

Kind regards,

   Aparajita
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoy.org

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to