scripting question

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am

scripting question

Post by marksmithhfx » Fri Jul 08, 2011 8:47 pm

Hi, the following entered into the message box generates a script error Commands: missing ','
But I'm not sure where the fix should be applied. Any suggestions?

repeat with x = 1 to the number of buttons in group navigation
put the short name of button x in group navigation & return after message box
end repeat

Thanks
-- Mark
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: scripting question

Post by mwieder » Fri Jul 08, 2011 9:19 pm

Code: Select all

put the short name of button x of group navigation & return after message box

marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am

Re: scripting question

Post by marksmithhfx » Mon Jul 11, 2011 1:37 am

mwieder wrote:

Code: Select all

put the short name of button x of group navigation & return after message box
Great, thanks
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

Post Reply