Watching my Variables

Dennis Brown see3d at writeme.com
Wed Jun 8 20:34:31 EDT 2005


Derek,

I ran into the same problem.  I solved it with the do command
do "put "&myVariableNameIsInHere

Dennis

On Jun 8, 2005, at 8:11 PM, Derek Bump wrote:

> I am updating my Error Reporting script to include all variable  
> information (Local, Global, etc) and I am wondering how I would get  
> the contents of a variable who's name is held within a variable?
>
> Just analyze the script below and you'll see what I mean...
>
>   -- Globals
>   put cr&cr& "Global Variables..." &cr after theMessage
>   put globalNames() into varNames
>   repeat with x=1 to the number of items in varNames
>     put "     " & line x of varNames after theMessage
>     put variableContents(line x of varNames) &cr after theMessage
>   end repeat
>
>
> Derek Bump
> Dreamscape Software
> _______________________________________________
> Compress Images Easily with JPEGCompress 2.6.1
> http://www.dreamscapesoftware.com/
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list