Variable Recognition

Is Applescript able to identify and report on variables within a script? I’m looking for an expression such as

 set v to my variables

Hi,

AppleScript itself and Script Editor are not able to do this.
But Script Debugger by LateNightSoftware can display all used variables

You can use the Event Log pane of the Script Editor:

set A to 123
set B to 345
set C to A + B
log "A = " & A & "; B = " & B & "; C = " & C
--> (*A = 123; B = 345; C = 468*)