Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Variables pane of Script Debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Variables pane of Script Debugger



Hello,

On 23-Jul-09, at 3:32 AM, email@hidden wrote:

Hello, how can I see the value of y in the variables pane of Script
Debugger when I run this simple examplescript in debug mode:

set x to 3

beeping(x)

on beeping(x)
	--local y
	set y to 5
	beep x
	delay 2
	beep y
end beeping

Script Debugger requires that local variables be declared explicitly using AppleScript's 'local' statement in order for them to appear in the Variables browser and in the Expressions browser. More information is presented in Script Debugger's online help. Just search for 'local' to get more information.


Cheers
-Mark

------------------------------------------------------------------
Mark Alldritt                             Late Night Software Ltd.
Phone: 250-380-1725                       333 Moss Street
Fax:   250-383-3204                       Victoria, B.C.
Web:   http://www.latenightsw.com/        CANADA  V8V-4M9

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.