Dollar Sign Variables

Ray ray at linkit.com
Tue Feb 11 11:39:45 EST 2014


Theiry, Craig,

This method works:

http://lists.runrev.com/pipermail/use-livecode/2012-February/169029.html

but it can't be saved, forcing me to do a lot of work-around each time I 
open Livecode.  It seems I have a permission issue.

Here's what I do:

Open Message Box, Show Front Scripts, Open stack "revDebugger"
Go to the function "revDebuggerValidGlobalNames" and add the following line:
    filter tGlobalsRaw without "grev*"

This works beautifully but it can't be saved.  If I try saving the 
"revDebugger" stack from the message box I get the error:

    can't open stack backup file

If I quit I'm prompted to save changes to "revDebugger",
but when I choose to do so I get a longer error:

    Can't save stack revDebugger due to an error
    Can't open stack backup file
    Check the file path, and make sure you have sufficient permissions.

If I try a "save as" and then replace the existing support file with the 
new one it completely corrupts my installation of Livecode forcing me to 
download and re-install.

Is there something going on with my "permissions" that I can set to 
allow the saving of changes to the "revDebugger" stack?

Thanks,

Ray
On 2/11/2014 11:36 AM, dunbarx at aol.com wrote:
> Hi.
>
>
> This is one of my favorite things, courtesy of Thierry. Open the script of the debugger and place this in its script. Replace the handler completely.
>
>
>
>
>
> function revDebuggerValidGlobalNames
>     local tGlobalsRaw
>     put the globals into tGlobalsRaw
>     
>     replace comma with return in tGlobalsRaw
>    
>     filter tGlobalsRaw without "*(x86)"
>      filter tGlobalsRaw without "$*"
>       filter tGlobalsRaw without "grev*"
>     replace return with comma in tGlobalsRaw
>     
>     return tGlobalsRaw
> end revDebuggerValidGlobalNames
>
>
> Peace at last.
>
>
> Craig Newman
>
>
>
>
> -----Original Message-----
> From: Ray <ray at linkit.com>
> To: use-livecode <use-livecode at lists.runrev.com>
> Sent: Tue, Feb 11, 2014 8:10 am
> Subject: Dollar Sign Variables
>
>
> Does anybody know of a way to stop the script editor from displaying all
> the dollar sign variables?  I'll list a few, below, for reference.
> Sometimes they don't show up for some reason but most of the time they
> not only show up but they're listed at the top, causing a lot of
> unnecessary scrolling to get to what I really need to see which is my
> own variables.
>
> Thanks,
>
> Ray
>
> $#
> $0
> $ALLUSERSPROFILE
> $APPDATA
> $CommanProgramFiles
> $CommonProgramW6432
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>   
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list