It is somewhat possible to do what you are asking within automation anywhere. If you add a "Send Email" command to your script and then in the attachment section select 'attach all variables', which can be done by pressing the $ symbol.
When run it will email you with an attachment, which has a snapshot of all user and system variables at the time it was run, similar to what you can do with emails in the "Begin Error Handler" command.
If you put it at the top it should show you the variables as per the script starts, if you add it towards the end though it could be changed by any variable operations you have included in your script.
it is not best practice to hard code values into variables and it should be done via a configuration file.
hope this made things clearer cheers :)