Re: Show globals

2008-12-12 Thread Rob Cozens
Bob, et al: A couple of follow up thoughts: And script local variables cannot be accidentally or purposely read or changed by scripts in other stacks or other objects. This may not mean much if you are developing end user applications; however if you are building libraries that may be used

Re: Show globals

2008-12-12 Thread Bob Sneidar
Oh I see how that works. That makes sense for distributed developer tools. You are preventing unintended changes to your internal variables from the the outside world while providing a mechanism for accessing them if needed. I never understood Script Local variables until now. Bob

Re: Show globals

2008-12-11 Thread Bob Sneidar
The big thing about globals for me, even more than their scope, is their persistence. I can declare a global and check it's current value in the message box without any script even running. They are the only way to do environment variables, where the state of various things can be

Re: Show globals

2008-12-11 Thread Rob Cozens
Bob, et al: I would only use script local variables for temporary variables that only need to live while the script runs The Rev Dictionary says: The difference between a script local variable and a global variable is that a script local variable can only be used in the handlers of one

Re :Show Globals

2008-12-10 Thread Francis Nugent Dixon
, hide everthing you don't want to see. It will be available in the future if you update the stack. However, I don't know how to show globals assigned ONLY to the current stack. Does anybody know ? If you want the scripts, catch me off-list .. -Francis Nothing should ever be done

Re: Show Globals

2008-12-10 Thread Richard Gaskin
Francis Nugent Dixon wrote: However, I don't know how to show globals assigned ONLY to the current stack. Does anybody know ? I'm not sure what you mean. Globals are global in scope, available to any script with a matching global declaration. -- Richard Gaskin Fourth World Revolution

Re: Show Globals

2008-12-10 Thread Jim Ault
On 12/10/08 8:24 AM, Richard Gaskin [EMAIL PROTECTED] wrote: Francis Nugent Dixon wrote: However, I don't know how to show globals assigned ONLY to the current stack. Does anybody know ? I'm not sure what you mean. Globals are global in scope, available to any script with a matching

Re: Show Globals

2008-12-10 Thread Fred moyer
Francis Nugent Dixon wrote: However, I don't know how to show globals assigned ONLY to the current stack. Does anybody know ? Richard Gaskin wrote: I'm not sure what you mean. Globals are global in scope, available to any script with a matching global declaration. Yes, but why would

Re: Show Globals

2008-12-10 Thread Devin Asay
On Dec 10, 2008, at 12:54 PM, Fred moyer wrote: Francis Nugent Dixon wrote: However, I don't know how to show globals assigned ONLY to the current stack. Does anybody know ? Richard Gaskin wrote: I'm not sure what you mean. Globals are global in scope, available to any script

Re: Show globals

2008-12-10 Thread Francis Nugent Dixon
Hi from Paris, Sorry Richard, my explanation was vague. Launch a standalone, of any single stack, and look at the global variables as I do, and you see only those currently assigned to the stack (obviously). In the IDE, open several stacks at once, switching from one stack to another, and in

Re: Show globals

2008-12-10 Thread Richard Gaskin
Francis Nugent Dixon wrote: In the IDE, open several stacks at once, switching from one stack to another, and in any of the stacks, you see the total list of globals defined by all current stacks, and you don't know which globals belong to which stack. It seems appropriate that the Message Box

Re: Show Globals

2008-12-10 Thread Jim Ault
if return the var of stack where end setValue function getValue var, where return the var of stack where end getValue -- end copy - On 12/10/08 11:54 AM, Fred moyer [EMAIL PROTECTED] wrote: Francis Nugent Dixon wrote: However, I don't know how to show globals assigned ONLY

Show Globals

2008-12-09 Thread Fred moyer
Hi everyone. Am I the only one for whom the script editor on 3.0 is glacially slow? It is almost impossible at times to code, especially when I have lots of huge globals loaded. For that matter, in Preferences, it seems that checking or unchecking Show Globals in the Script Editor area

Re: Show Globals

2008-12-09 Thread Jim Ault
when I have lots of huge globals loaded. For that matter, in Preferences, it seems that checking or unchecking Show Globals in the Script Editor area makes no difference. I still see all of my globals (as well as $User and other $ variables) listed. Simply comparing 2 variables if they start

Re: Show Globals

2008-12-09 Thread J. Landman Gay
more, or delete them entirely. For that matter, in Preferences, it seems that checking or unchecking Show Globals in the Script Editor area makes no difference. I still see all of my globals (as well as $User and other $ variables) listed. Simply comparing 2 variables if they start with say

Re: Show Globals

2008-12-09 Thread Terry Judd
The script editor is just fine as long as you don't need to debug anything complex. Once you've got more than a few variables, and particularly if these include multidimensional arrays it bogs down horribly. It needs some attention I reckon! Terry... On 10/12/08 4:03 PM, J. Landman Gay [EMAIL