View Single Post
07-07-06, 11:24 AM   #27
Astrocanis
A Black Drake
Join Date: Mar 2005
Posts: 84
Originally Posted by Shag
All global variables should be persistent across script executions. But note that the global variables are not visible in the global environment, eg. if you create a global variable 'myStance' in your script, you won't see it when using Iriel's '/dump myStance'.
All scripts run in a special environment and all global variables you make are stored in the table 'ColdFusionShell', so use '/dump ColdFusionShell' or '/dump ColdFusionShell.myStance' to find out if the variable really exists.

If you haven't understood a word.. simply remove the 'local' before 'myStance'
Thanks Shaq. By the way - this is a truly marvelous piece of coding. I am hoping that you have the energy to continue maintaining it! I have become totally addicted to it and would be saddened / moderately destroyed if it stopped working for me.

I am a professional programmer (Oracle - Java - C# - C - C++) with about 20 years of experience and I do appreciate what you've done for us.

Thank you.
  Reply With Quote